Commit Graph

86 Commits

Author SHA1 Message Date
Katchan
19e5f19b19 Add increment function 2021-10-28 23:18:31 +02:00
Katchan
785e28e6a9 Implement all action function 2021-10-28 23:17:12 +02:00
5912b49356 Partially fix GridTest.java 2021-10-26 17:17:06 +02:00
3a31f8485d Merge branch 'testplay'
# Conflicts:
#	server/src/main/java/fr/lnl/game/server/games/Game.java
#	server/src/main/java/fr/lnl/game/server/games/action/DeployShield.java
#	server/src/main/java/fr/lnl/game/server/games/action/DropMine.java
2021-10-26 17:08:38 +02:00
2e86f71e94 Improved argument parser and fix a bug with grid not initialize on new instance 2021-10-26 16:04:12 +02:00
ad9ac682bb Create a view per player + improved arguments parser 2021-10-26 10:26:31 +02:00
4e2da3330a Added very basic view support + reworked players' fields in Game.java and Grid.java 2021-10-23 19:15:08 +02:00
Katchan
f611509175 Add playtest methode and diverses attributes and methods. Refactor isPossible method 2021-10-22 13:03:14 +02:00
Valentin Valentin
d6f2217554 Finalisation des classes DeployShield, DropBomb et DropMine 2021-10-22 08:17:50 +02:00
ce39edaead Added view files + refactored Tests 2021-10-21 20:43:16 +02:00
Katchan
cd166fa809 Add move doAction 2021-10-21 17:19:05 +02:00
f5ba25843c Merge remote-tracking branch 'origin/master' 2021-10-21 17:14:31 +02:00
fb1c82ed58 refactored ClassPlayer from a class to an enum 2021-10-21 17:14:04 +02:00
valentinlucas
dcf09f6b3f Modifications et ajouts de méthodes aux classes et interface (DeployShield,DropBomb,DropMine,DropObject,Nothing,Player) 2021-10-21 17:05:11 +02:00
f2e42c68bf Add test 2021-10-21 16:47:41 +02:00
Katchan
d2ccedb814 Add Move isPossible and getValidPoint and refactor Grid attributes 2021-10-21 16:41:04 +02:00
Katchan
8f19cf400c Fix omissions + Optimize import 2021-10-21 15:54:53 +02:00
valentinlucas
134655b116 Modifications des classes liées aux actions 2021-10-20 15:43:54 +02:00
Katchan
1090d358c2 Remove position atribute on Player 2021-10-20 14:52:04 +02:00
Katchan
498a449a91 [Priority 3] - Add DefaultClassPlayer and refactor Player constructor 2021-10-20 14:43:31 +02:00
Katchan
6c61be3a90 [Priority 1] - Create simple grid 2021-10-18 18:20:17 +02:00
Katchan
e81fb4af2e Edit ComputerPlayer abd Firearm constructor 2021-10-18 18:19:16 +02:00
Katchan
e04b70d8e6 Add constructor and variables on Weapon 2021-10-18 18:18:20 +02:00
Katchan
cfaeebe221 Refactor variable name on Pair 2021-10-18 18:17:52 +02:00
f5b26810b8 Refactored extends and implements 2021-10-18 16:12:18 +02:00
559c590b52 Refactored Point.java 2021-10-18 08:42:26 +02:00
valentinlucas
c9380a229f Ajouts minimes (Implémentation & ajout de la méthode play()) 2021-10-17 17:03:18 +02:00
38af64cdf0 Fix gradle run 2021-10-17 16:27:25 +02:00
Katchan
aad5c8a544 Add game basis 2021-10-15 18:56:42 +02:00
Katchan
6edf9df251 add grid basis whith extern wall generation 2021-10-15 18:54:21 +02:00
Katchan
26f0290047 refactor Tuple to Triplet and create Cardinal enum on utils package 2021-10-15 18:53:34 +02:00
Katchan
77a2800a78 add players basis 2021-10-15 18:52:44 +02:00
1c806704f1 Fix package names 2021-10-12 10:33:14 +02:00
valentinlucas
db7d533c90 Ajout du package model et de ses composantes, modification de la "nomination" d'une variable 2021-10-12 09:19:15 +02:00
24f5269c63 Fix package syntax not correct at the beginning of classes 2021-10-10 16:34:54 +02:00
aac154bf78 Updated project to multi-module using gradle 2021-10-10 15:19:04 +02:00