Browse Source

Add multiplayer mode

DricomDragon 4 years ago
parent
commit
a06e23d234
2 changed files with 9 additions and 0 deletions
  1. 9 0
      README.md
  2. 0 0
      project/Q_HumainVsHumain.py

+ 9 - 0
README.md

@@ -16,6 +16,8 @@ Our team :
 
 
 ## How to play
 ## How to play
 
 
+### Run python
+
 _Requirement : you need [python version 3](https://www.python.org/downloads/) to start games_
 _Requirement : you need [python version 3](https://www.python.org/downloads/) to start games_
 
 
 Every file prependend by `Q_` is an executable that you can run with python.
 Every file prependend by `Q_` is an executable that you can run with python.
@@ -28,6 +30,13 @@ python3 project/Q_HumainVsMinMax1.py
 
 
 Or run the files directly from your prefered IDE (like IDLE, the default IDE packed with python).
 Or run the files directly from your prefered IDE (like IDLE, the default IDE packed with python).
 
 
+### Single player
+
 You can play single mode by launching any file `Q_HumainVs<AI name><tree depth><variant>.py` where _AI name_ is the name of the IA you have to combat, _tree depth_ the number of turns the AI will explore, and _variant_ is a marker meaning that the function used to evaluate the strength of a situation has been tweaked.
 You can play single mode by launching any file `Q_HumainVs<AI name><tree depth><variant>.py` where _AI name_ is the name of the IA you have to combat, _tree depth_ the number of turns the AI will explore, and _variant_ is a marker meaning that the function used to evaluate the strength of a situation has been tweaked.
 
 
 For instance : *Q_HumainVsAlphaBeta3+.py* means that you will fight an AI using the **Alpha Beta** algorithm, exploring the game **3** turns in the future, and using a variant **+** of the evaluation function.
 For instance : *Q_HumainVsAlphaBeta3+.py* means that you will fight an AI using the **Alpha Beta** algorithm, exploring the game **3** turns in the future, and using a variant **+** of the evaluation function.
+
+### Multiplayer
+
+You can oppose another human being by launching the `Q_HumainVsHumain.py` python script.
+

project/Q _ JEU HUMAINS.py → project/Q_HumainVsHumain.py