https://github.com/cair/axis_and_allies

A simple Axis & Allies engine.

https://github.com/cair/axis_and_allies

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary

Keywords

artificial-intelligence neural-network risk-game
Last synced: 10 months ago · JSON representation

Repository

A simple Axis & Allies engine.

Basic Info
  • Host: GitHub
  • Owner: cair
  • Language: Python
  • Default Branch: master
  • Size: 110 KB
Statistics
  • Stars: 6
  • Watchers: 4
  • Forks: 3
  • Open Issues: 4
  • Releases: 0
Topics
artificial-intelligence neural-network risk-game
Created almost 8 years ago · Last pushed over 7 years ago
Metadata Files
Readme

README.md

This is the first release of Axis and Allies engine.

Some notes about the current release:

The board, has to be a square (nxm) and it has to be divisible with the number of nations. (6x5 / 2 = 15 tiles each)
Units are not allowed to move diagonally.
Only infantry and tanks are implemented.
No water tiles.
No technologies included.
No purchase of industry.

Install

bash pip install git+https://github.com/cair/Axis_and_Allies.git

Running Examples

bash python -m axis_and_allies.demostration_game python -m axis_and_allies.example

Tournament Web Interface

The tournament web interface features a small tornado driven web app, that feature the following: * Create unique submission id for each bot * Submission files can be deleted (python only, or full submission) * Multi-File upload * Dynamic loading of your bot class (Configured during the manifest setup)

Submitting

  1. Visit the website at http://<host-url>:8889/#!/upload
  2. Enter your submission id. If none exists, click Generate Upload ID
  3. Click Select files in the file upload pane
  4. Select your bot-files, and click OK (submit)
  5. Edit the manifest using the text-area field.
    • entrypoint: The filename of the bot class
    • class_name: Name of the class inside entrypoint
    • class_arguments: dictionary of parameters sent to the class constructor
    • project_name: Your project name
    • email: Your email
    • version: Your bot version
    • author: Your name
  6. Click Save Manifest to save the edited manifest
  7. Now, you can run your bot in the tournament. The tournamnet wil appear at the bottom when all matches is completed.

Edit a Submission

  1. Enter the previously generated submission id
  2. Your submission should now be loaded and you can do necessary changes.
  3. You can delete all python files in the submission by clicking Delete Python Files
  4. You can delete the submission by clicking Delete Submission

Owner

  • Name: Centre for Artificial Intelligence Research (CAIR)
  • Login: cair
  • Kind: organization
  • Email: cair-internal@uia.no
  • Location: Grimstad, Norway

CAIR is a centre for research excellence on artificial intelligence at the University of Agder. We attack unsolved problems, seeking superintelligence.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 12
  • Total pull requests: 12
  • Average time to close issues: 3 days
  • Average time to close pull requests: about 4 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.08
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • atlefk14 (4)
  • perara (3)
Pull Request Authors
  • perara (7)
  • atlefk14 (3)
Top Labels
Issue Labels
enhancement (4)
Pull Request Labels

Dependencies

requirements.txt pypi
  • numpy *
  • tinydb *
  • tornado *
setup.py pypi
  • numpy *