Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HamidrezaKmK authored Feb 16, 2020
1 parent 1917cb1 commit 5047370
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
After implementing your code in `AI.py`, you may need to run it.
Below are the instructions to build and execute the client project.

![AI](http://s7.picofile.com/file/8388348218/AI.JPG)

### Using Command Line

To fetch and build the project use the following commands:
Expand All @@ -23,18 +25,22 @@ You can download Jetbrains Pycharm from this link.

This IDE allows quick and easier usage.

1) Run the server using the command line located below the page in Pycharm:
1) Run the server using the command line located below the page in Pycharm and enter the following code:
```
cd your_server_directory/
java -jar server_jar_file.jar
```

2) Run `controller.py` by right clicking and choosing `Run 'controller'` option:

3) Allo parallel runs:
![run_controller](http://s6.picofile.com/file/8388348318/Run_controller.JPG)

3) Allow parallel runs:
* Click on the configuration of python
* Choose `edit Configurations`
![edit_config](http://s7.picofile.com/file/8388348276/edit_configuration.JPG)
* Click the check box with label `Allow parallel run`
![allow_parallel](http://s7.picofile.com/file/8388348250/allow_parallel.JPG)
* run the controller again for four times

## Multiple codes
Expand Down

0 comments on commit 5047370

Please sign in to comment.