Commit Graph

23 Commits

Author SHA1 Message Date
10fae688ad added State.toString and getWinner + fixed infinite loop 2021-02-12 09:38:18 +01:00
ac9ddcab27 converted board from int to AbstractPlayer 2021-02-12 09:18:03 +01:00
042a5dc9ea fixed errors 2021-02-12 09:02:53 +01:00
Antonin Boyon
8f15a25eec Merge branch 'master' of https://forge.info.unicaen.fr/git/othello 2021-02-10 13:35:59 +01:00
Antonin Boyon
93d83adad7 méthode getMoves 2021-02-10 13:35:22 +01:00
Arthur
19795fc4f5 play method changed 2021-02-10 13:01:47 +01:00
Antonin Boyon
02821f1886 fonction getMoves pour clone et saut 2021-02-10 12:38:25 +01:00
Arthur
e675b8ae59 differencing jump and clone 2021-02-10 12:26:47 +01:00
af4d9d8504 added abstractPlayer and RandomPlayer 2021-02-10 12:19:22 +01:00
d4437f8b87 added generic Pair and Point + fixed getMove 2021-02-10 12:01:51 +01:00
780b21bf0e renamed somes files + refactored State constructors 2021-02-10 11:21:33 +01:00
Antonin Boyon
7a26022010 méthode de clonage 2021-02-10 10:43:39 +01:00
Antonin Boyon
c83f098aa5 méthode de clonage 2021-02-10 10:22:22 +01:00
Antonin Boyon
17db265925 méthode de clonage 2021-02-10 10:21:26 +01:00
Antonin Boyon
a28cb1daa5 début methode clonage 2021-02-10 09:49:32 +01:00
Antonin Boyon
9316c144d4 début methode clonage 2021-02-10 09:48:23 +01:00
Arthur
2263d0614b added getScore 2021-02-02 09:14:10 +01:00
Antonin Boyon
3d87d7234f test de getMove 2021-01-27 18:27:28 +01:00
Antonin Boyon
c7688feaa3 fonction de clonage des pions pour la méthode getMove 2021-01-27 16:55:50 +01:00
Antonin Boyon
4d1f90bf16 methode play, copie, switchPlayer 2021-01-27 13:00:52 +01:00
Quentin Legot
b9d9afbe51 Adde main 2021-01-27 12:24:17 +01:00
Anto
fe8be4dc57 ajout plateau test 2021-01-27 12:06:32 +01:00
Quentin Legot
728e454ce0 Added State 2021-01-27 11:49:49 +01:00