Metadata-Version: 2.1
Name: agt-arena
Version: 1.6.17
Summary: The AGT Docker Arena is a dockerized python platform designed to run and implement game environments that autonomous agents can connect to and compete in.
Home-page: UNKNOWN
Author: John Wu
Author-email: john_w_wu@brown.edu
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: setuptools
Requires-Dist: numpy >=1.26.3
Requires-Dist: pandas
Requires-Dist: matplotlib
Requires-Dist: tqdm
Requires-Dist: pygame
Requires-Dist: docker
Requires-Dist: flask >=2.0.0
Requires-Dist: requests >=2.25.1
Requires-Dist: agt-server

# CS410 Arena

A Go game arena for running bot competitions in CS1440.

## Running the Arena

Given that the submission files are in the `submissions` director (presumably from the autograder script),  
here's what you need to do to run the arena:  
Note: Some of this is still in development, so the instructions may change as I refine this in the future.  

1. CD into submissions/shared and build the base Dockerfile as cs1440base by running:  

    ```bash
    docker build -f BaseDockerfile -t cs1440base .
    ```

    NOTE: You may need to rebuild the base image if you change the game.

2. Update the corresponding config in go_config to match what settings you want to run.

3. CD back out to the root of the directory and run the following command:  

    ```bash
    docker network create tournament
    docker compose --env-file configs/go_config.env up
    ```

4. The arena should now be running. You can observe the logs in logs and the results in meta after it's done. This will take up a lot of image space depending on the number of submissions so make sure to clean up docker images after you're done.


