{"id":22707179,"url":"https://github.com/cair/axis_and_allies","last_synced_at":"2025-04-13T12:31:48.108Z","repository":{"id":82388241,"uuid":"141329606","full_name":"cair/Axis_and_Allies","owner":"cair","description":"A simple Axis \u0026 Allies engine.","archived":false,"fork":false,"pushed_at":"2018-11-20T15:00:34.000Z","size":113,"stargazers_count":6,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T03:35:13.319Z","etag":null,"topics":["artificial-intelligence","neural-network","risk-game"],"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/cair.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T18:41:36.000Z","updated_at":"2024-07-16T22:19:37.000Z","dependencies_parsed_at":"2023-06-15T11:15:07.988Z","dependency_job_id":null,"html_url":"https://github.com/cair/Axis_and_Allies","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/cair%2FAxis_and_Allies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FAxis_and_Allies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FAxis_and_Allies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cair%2FAxis_and_Allies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cair","download_url":"https://codeload.github.com/cair/Axis_and_Allies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248714473,"owners_count":21149904,"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":["artificial-intelligence","neural-network","risk-game"],"created_at":"2024-12-10T10:11:41.619Z","updated_at":"2025-04-13T12:31:48.089Z","avatar_url":"https://github.com/cair.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the first release of Axis and Allies engine.\r\n\r\nSome notes about the current release:\r\n\r\nThe board, has to be a square (nxm) and it has to be divisible with the number of nations. (6x5 / 2 = 15 tiles each)  \r\nUnits are not allowed to move diagonally.  \r\nOnly infantry and tanks are implemented.  \r\nNo water tiles.  \r\nNo technologies included.  \r\nNo purchase of industry.  \r\n\r\n# Install\r\n```bash\r\npip install git+https://github.com/cair/Axis_and_Allies.git\r\n```\r\n\r\n# Running Examples\r\n```bash\r\npython -m axis_and_allies.demostration_game\r\npython -m axis_and_allies.example\r\n```\r\n\r\n# Tournament Web Interface\r\nThe tournament web interface features a small `tornado` driven web app, that feature the following:\r\n* Create unique submission id for each bot\r\n* Submission files can be deleted (python only, or full submission)\r\n* Multi-File upload\r\n* Dynamic loading of your bot class (Configured during the manifest setup)\r\n\r\n## Submitting\r\n1. Visit the website at `http://\u003chost-url\u003e:8889/#!/upload`\r\n2. Enter your submission id. If none exists, click `Generate Upload ID`\r\n3. Click `Select files` in the file upload pane\r\n4. Select your bot-files, and click `OK (submit)`\r\n5. Edit the manifest using the text-area field.\r\n    * entrypoint: The filename of the bot class\r\n    * class_name: Name of the class inside `entrypoint`\r\n    * class_arguments: dictionary of parameters sent to the class constructor\r\n    * project_name: Your project name\r\n    * email: Your email\r\n    * version: Your bot version\r\n    * author: Your name\r\n6. Click `Save Manifest` to save the edited manifest\r\n7. Now, you can run your bot in the tournament. The tournamnet wil appear at the bottom when all matches is completed.\r\n\r\n## Edit a Submission\r\n1. Enter the previously generated submission id\r\n2. Your submission should now be loaded and you can do necessary changes.\r\n3. You can delete all python files in the submission by clicking `Delete Python Files`\r\n4. You can delete the submission by clicking `Delete Submission`  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcair%2Faxis_and_allies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcair%2Faxis_and_allies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcair%2Faxis_and_allies/lists"}