{"id":16088578,"url":"https://github.com/avp/the_team","last_synced_at":"2025-04-05T16:12:04.733Z","repository":{"id":67323850,"uuid":"44444127","full_name":"avp/the_team","owner":"avp","description":"AWAP 2015","archived":false,"fork":false,"pushed_at":"2015-10-17T22:39:04.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T12:45:27.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-17T16:03:05.000Z","updated_at":"2015-10-18T00:39:00.000Z","dependencies_parsed_at":"2023-02-21T02:31:02.086Z","dependency_job_id":null,"html_url":"https://github.com/avp/the_team","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avp%2Fthe_team","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avp%2Fthe_team/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avp%2Fthe_team/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avp%2Fthe_team/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avp","download_url":"https://codeload.github.com/avp/the_team/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361700,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T13:37:03.584Z","updated_at":"2025-04-05T16:12:04.691Z","avatar_url":"https://github.com/avp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Startup Tycoon\n\n## Setup\n\n1. If you're running Windows, install [Cygwin](http://cygwin.com/install.html). As a part of the installation, select `git` and `python` as packages to install. Boot Cygwin and proceed to step 2. If you're not on Windows, open a terminal.\n\n2. Install [pip](http://pip.readthedocs.org/en/stable/installing/) if you do not already have it.\n\n3. Follow these instructions:\n\n```\nsudo pip install virtualenv\ngit clone git@github.com:willcrichton/awap-2015.git\ncd awap\nvirtualenv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n## Exploring the code\n\nYou should look at the following files:\n\n* `src/game/player.py` - You will implement your algorithm here.\n* `src/game/base_player.py` - Utilities for the Player class.\n* `src/game/state.py` - All the state maintained for the game.\n* `src/game/order.py` - Representation of orders in the game.\n* `src/game/settings.py` - Constants used in the game.\n* `src/game/graphs.py` - Functions for generating graphs.\n\nYou don't need to look at any other files.\n\nThe graphs used in the code are NetworkX graphs. Some useful links:\n* [Short tutorial](http://networkx.lanl.gov/networkx_tutorial.pdf)\n* [Full documentation](https://networkx.github.io/documentation/latest/)\n\n## Running the code\n\nTo run your algorithm quickly with no visuals, do\n\n```\n./run.sh shell\n```\n\nTo step through your algorithm and see it work, do\n\n```\n./run.sh web\n```\n\nThen visit [http://localhost:5000](http://localhost:5000) in your browser.\n\n## Submitting for the competition\n\nTo submit your algorithm for scoring, go to Autolab: [https://autolab.cs.cmu.edu/courses/15097-f15/assessments/awapcompetition](https://autolab.cs.cmu.edu/courses/15097-f15/assessments/awapcompetition)\n\nThen click \"Submit File\" and upload `src/game/player.py`. Do not upload anything else (e.g. a zip/tar file, a different Python file, etc.). Your Autolab submission history will now have a new entry. If your score is -1, then your code did not compile or run correctly. Click on your score to see the error logs. Note that **you can only import from src/game/ or the Python 2.7 standard library**. You cannot use any custom packages besides networkx.\n\nSubmissions are closed at 7:00pm. Please submit your final bot early (like 6pm) to ensure that it works on our servers--the queue times will grow as we get close to 7:00pm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favp%2Fthe_team","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favp%2Fthe_team","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favp%2Fthe_team/lists"}