Skip to content

Commit 2eb3c5e

Browse files
committed
Update Readme.md
1 parent 8a784c4 commit 2eb3c5e

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

Readme.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,25 @@ Web Sites
77

88
# For Participants
99

10-
## How to Execute Game with Sample AIs
10+
There are two ways to play the game.
1111

12-
1. Install node.js (http://nodejs.org/)
13-
2. Open shell in the AILovers directory
14-
3. Execute ```npm install```
15-
4. Execute ```node server/standalone.js```
12+
- Play online. Go to [the registration server](arena.ai-comp.net) and submit your AI.
13+
- Play on your machine. You need to install [node.js](http://nodejs.org/) to execute the game. Follow the instructions below.
1614

17-
## How to Execute Game with Your AIs
15+
## How to Play the Game on Your Macine
1816

19-
1. Write your AI using any programming language
20-
2. Execute ```node server/standalone.js -a "command to execute your AI program"```
21-
You can specify four AI programs.
22-
e.g. ```node server/standalone.js -a "python ai/ai.py" -a "python ai/equal.py" -a "python ai/ai.py" -a "python ai/equal.py"```.
17+
1. Open shell in the AILovers directory
18+
2. Run the following commands:
19+
20+
npm install -g bower
21+
npm install -g grunt-cli
22+
npm install
23+
bower install
24+
25+
3. Execute `npm start`.
26+
4. Access `localhost:8000` in your browser.
27+
5. Specify commands to run AIs.
28+
6. Click "Run Game".
2329

2430
# For Contributors
2531
Here are some basic instructions on how to run the server.

0 commit comments

Comments
 (0)