Commit Graph

76 Commits

Author SHA1 Message Date
charles.duteil 837b0a56b5 Knight movement updated 2025-05-18 15:12:01 +02:00
charles.duteil fbb4ffcddb king movement updated 2025-05-18 15:11:07 +02:00
charles.duteil 1f27eec9aa Bishop movement updated 2025-05-18 15:08:32 +02:00
charles.duteil 8203f64b63 Queen movement solved 2025-05-18 15:05:30 +02:00
charles.duteil c084635905 hightlightKinginCheck changes
Change-Id: I7ffb96e6d228a72a198559cc649367b97b968675
2025-05-18 14:53:42 +02:00
marce a028336c78 Has moved castling 2025-05-18 11:50:52 +02:00
charles.duteil 8d5e97c5f5 highlightKingInCheck 2025-05-15 18:56:01 +02:00
charles.duteil 3f5a33dace change sound file 2025-05-15 18:41:33 +02:00
yohanmontagne a6e3abb5e9 Started en passant code 2025-05-15 17:24:34 +02:00
yohanmontagne 34b0a251c2 Debuged the function getall legal move as the X and Y was swapped. 2025-05-15 16:31:12 +02:00
yohanmontagne c363bf7c1b Corrected the pawn logic as it was flawed. 2025-05-15 16:16:31 +02:00
yohanmontagne 73e0bc0106 Merge branch 'master' of https://gitarero.ecam.fr/yohan.montagne/OOP_2B1_Project.git 2025-05-15 15:36:41 +02:00
Tilman Crosetti cf9c7bbd8c Modification of pieces rules, modif AutoPlayer+ isHighlight method+
UserTouch
2025-05-15 14:47:26 +02:00
marce 01e0027daf turn colour for undo 2025-05-15 11:29:19 +02:00
yohanmontagne 3acbf3780f Merge branch 'master' of https://gitarero.ecam.fr/yohan.montagne/OOP_2B1_Project.git 2025-05-14 17:39:19 +02:00
marce a52bf87ec6 turn number -1 when undo last move 2025-05-13 19:18:49 +02:00
yohanmontagne 174f7c03d0 Also added a way to force the white turn at each restart 2025-05-13 17:46:17 +02:00
yohanmontagne 4c2a9f6b14 Added a way to reset the turn counter when restarting. 2025-05-13 17:40:41 +02:00
Tilman Crosetti 03c0514f0c Set piece optimization 2025-05-13 17:23:59 +02:00
Tilman Crosetti 4f2c3c8618 Implement Board copy and getAllLegalMoves 2025-05-13 17:13:42 +02:00
Tilman Crosetti 1bef5fd4df Highlighted starting 2025-05-13 17:06:27 +02:00
Tilman Crosetti 2441ca5b23 board board note 2025-05-13 16:54:54 +02:00
Tilman Crosetti c9cd74b013 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-13 16:25:19 +02:00
marce 33fe6e1ed2 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-13 16:19:55 +02:00
marce 73f8ac5d35 added undoLastMove 2025-05-13 15:53:13 +02:00
Tilman Crosetti d72eaae67a Modification AutoPlayer and Board(PlayMove) 2025-05-13 15:36:02 +02:00
charles.duteil 66710ec364 move sound (to be updated later) 2025-05-13 15:27:36 +02:00
charles.duteil 1aaf4cd6d5 playMoveSound added 2025-05-13 15:27:12 +02:00
Tilman Crosetti c666978058 Board modification (Set Piece,User touch) 2025-05-13 15:12:55 +02:00
Tilman Crosetti 5822222afd Queen rules 2025-05-13 14:52:31 +02:00
Tilman Crosetti 902442c1e6 Piece modification 2025-05-13 14:52:21 +02:00
Tilman Crosetti 8e3c7d9ada Rook rules 2025-05-13 14:52:08 +02:00
Tilman Crosetti 6fb087cbc0 Move modification 2025-05-13 14:51:57 +02:00
Tilman Crosetti a3c3c93858 Pawn rules 2025-05-13 14:51:39 +02:00
Tilman Crosetti 9db0c04eee Knight rules 2025-05-13 14:51:28 +02:00
Tilman Crosetti 076adb0291 King 2025-05-13 14:51:11 +02:00
Tilman Crosetti bad9ff9dc3 Bishop rules 2025-05-13 14:50:58 +02:00
Tilman Crosetti e79483e11b King rules 2025-05-13 14:50:21 +02:00
marce ae521aa569 readded loading 2025-05-13 13:53:20 +02:00
Tilman Crosetti 0f37bdedbb Move class => public 2025-05-07 16:32:06 +02:00
Tilman Crosetti 033ad5fc98 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-07 16:29:01 +02:00
Tilman Crosetti f136abd0de Merge branch 'master' of https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git 2025-05-07 16:28:00 +02:00
Tilman Crosetti 28f3a08074 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-07 16:27:53 +02:00
yohanmontagne 73d71f2568 Added a constraibnt to only allow to move to empty or case with a black
piece
2025-05-07 16:26:38 +02:00
Tilman Crosetti f2b8672909 autoplayer initial methods 2025-05-07 16:25:08 +02:00
Tilman Crosetti 25605f5597 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-07 16:24:48 +02:00
yohanmontagne 4b55e20327 Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B1_Project.git
2025-05-07 16:23:40 +02:00
yohanmontagne 2b8c9c995c Finishing user touch added also an element so that a part cannot be
moved onto its own color.
2025-05-07 16:23:21 +02:00
Tilman Crosetti 4363e0510f Modification Move + Start AutoPlayer...Missing Clone and getLegalMOve:
to finish
2025-05-07 16:13:10 +02:00
marce 86bc0cbfbd Merge branch 'master' of
https://gitarero.ecam.fr/yohan.montagne/OOP_2B2_Project.git
2025-05-07 16:11:54 +02:00