Commit 13213a17 authored by DUFAIX Clement's avatar DUFAIX Clement
Browse files

add agent class

parent 1f7823ff
......@@ -68,6 +68,10 @@ class RealPlayer(Player):
print("Mauvaise saisie, veuillez entrer un nombre numérique")
Game.takeDecision(inputUser)
class Agent(Player):
def takeDecision(self):
pass #TODO IA
if __name__ == "__main__":
print(Game.movePawn(4))
print(Game.boardGame[(0 - 1) % 8] == Game.actualPlayer)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment