Skip to content

uscmakers/BartholomewBanksworth

Repository files navigation

To run code in StateMachine:

  1. cd StateMachine
    python3 main.py

To run code in StateMachinePhysical:

On a Raspberry Pi:

  1. git clone [email protected]:uscmakers/BartholomewBanksworth.git
  2. cd BartholomewBanksworth/StateMachinePhysical/Embedded
  3. python3 server.py

On local machine:

  1. cd StateMachinePhysical
  2. python3 main.py

To run code in SIMPLEv1:

  1. Install Docker and Docker Compose
  2. cd SIMPLEv1
    docker-compose up -d
    bash ./scripts/install_env.sh monopoly
  3. To train, run:
  4. docker-compose exec app python3 train.py -r -e monopoly
  5. To test with one human player and one AI, run:
  6. docker-compose exec app python3 test.py -d -g 1 -a base human -e monopoly
  7. To test with two AI players, run:
  8. docker-compose exec app python3 test.py -d -g 1 -a base base -e monopoly

To run code in StateMachinePhysicalAIv2:

On a Raspberry Pi:

  1. git clone [email protected]:uscmakers/BartholomewBanksworth.git
  2. cd BartholomewBanksworth/StateMachinePhysicalAIv2/app/Embedded
  3. python3 server.py

On local machine: [Windows or Intel Mac required]

  1. Install Docker and Docker Compose
  2. cd StateMachinePhysicalAIv2
  3. docker-compose up -d
  4. bash ./scripts/install_env.sh monopoly
  5. For 2 players: docker-compose exec app python3 test.py -g 1 -a base2 human -e monopoly
  6. For 3 players: docker-compose exec app python3 test.py -g 1 -a base3 base3 human -e monopoly
  7. For 4 players: docker-compose exec app python3 test.py -g 1 -a base4 base4 base4 human -e monopoly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published