Commit Graph

55 Commits

Author SHA1 Message Date
edwin 1374fb6c79 Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-23 08:17:57 +02:00
edwin d17c3ec14d comments on different functions
Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
2025-05-23 08:17:52 +02:00
gwitt 21497c2a75 repair castling with the rook + remove useless commented code 2025-05-22 20:36:45 +02:00
gwitt 6cb9135501 castling bug really fixed 2025-05-22 18:25:03 +02:00
mimie da59350569 tried fixing check and commented 2025-05-22 15:07:51 +02:00
edwin bb30f9818d Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-22 11:24:57 +02:00
edwin 630d403731 Simplification of toRepFile and undo using split 2025-05-22 11:24:49 +02:00
gwitt cf6de22541 castling bug fixed 2025-05-22 10:06:31 +02:00
edwin 2200b06d7b prommote works 2025-05-22 10:00:09 +02:00
edwin 3e0f23aafd Undo auto player
play black then white
2025-05-22 09:37:19 +02:00
gwitt 49878e9bd2 auto player random ok 2025-05-22 08:46:41 +02:00
mimie 1a7d19d70d check ok :) + created move 2025-05-21 20:15:33 +02:00
edwin e003f63b4b Undo works for the castling, when you save you can use undo up to the
saved move.

Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
2025-05-17 21:55:01 +02:00
mimie 03ea5b41eb check a little bit
Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project.git
2025-05-16 11:31:35 +02:00
mimie 5e3c640ff8 Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project.git 2025-05-16 11:25:14 +02:00
mimie 4c7e35a8c8 check try 2025-05-16 11:25:06 +02:00
edwin 07a828920e Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-16 11:24:13 +02:00
edwin beb7f07d84 the undo button works 2025-05-16 11:24:07 +02:00
mimie 72fb02e981 created boolean isChecked in Board + constructor in Check 2025-05-16 10:46:22 +02:00
mimie 230cfa7fc1 created class Check 2025-05-16 10:34:00 +02:00
mimie 31fbc1debd modified parameters and put them in the right place 2025-05-16 10:10:28 +02:00
gwitt f7eb7f519e Finish the test pls 2025-05-16 10:04:26 +02:00
gwitt 63ef2ce24c Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project.git 2025-05-16 10:01:28 +02:00
gwitt 63d217c010 delete the print 2025-05-16 10:01:01 +02:00
edwin bf93e6e877 Saving of the previous board in the array list (user touch)
Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
2025-05-16 09:58:09 +02:00
edwin ec1fc2a693 Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-16 09:52:35 +02:00
edwin f6ebb63aaa File upload
réparation

Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
2025-05-16 09:52:21 +02:00
mimie 8c4b342126 test 2025-05-16 09:43:22 +02:00
edwin 3c8c060011 add of the enPassant in the save of the files
Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
2025-05-16 09:40:55 +02:00
gwitt 065fcd4366 Castling super ok 2025-05-16 09:26:27 +02:00
gwitt c6912dc166 Castling super ok 2025-05-16 09:22:29 +02:00
gwitt f01ee092c0 Castling super ok 2025-05-16 09:22:07 +02:00
gwitt 017377fe73 Castling super ok 2025-05-16 09:20:15 +02:00
edwin 0cb6318a8a Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-16 08:18:44 +02:00
edwin bb029240f2 Turn number after save 2025-05-16 08:18:29 +02:00
mimie 9f2106ba2d Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_Groupe_1A5_Project.git 2025-05-06 16:32:53 +02:00
mimie 0cf7e16c45 en passant OK 2025-05-06 16:32:38 +02:00
edwin fefb67a12a Creation of the second constructor of board (with a string) and the
capability to save the setup
2025-05-06 16:16:40 +02:00
edwin 4000184705 Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project 2025-05-06 14:07:09 +02:00
edwin 13d1dd4de5 Solved the error in the whatPiece 2025-05-06 14:06:50 +02:00
mimie 6aecfc5535 fixed pawns 2025-05-06 14:02:20 +02:00
mimie 28b5df793b modified userTouch to allow movements only to highlighted positions
(+made sure turn increments only if a move is made)
2025-05-02 17:54:16 +02:00
mimie 70b945dbfa modified highlights and move to not eat pieces of the same color 2025-05-02 17:45:41 +02:00
mimie 1d59c578db toHighlight method OK but not optimal 2025-05-01 20:37:09 +02:00
edwin 2fdb6a4fc9 fished part 1
when a piece is moved on another the eaten piece disappears.
2025-04-24 18:59:41 +02:00
edwin 1372b2466e did getTurnNumber and isTurnWhite
created a new parameter which is turnNumber
2025-04-24 18:34:57 +02:00
edwin f6a2129ee0 Change of the toString to get a better overview
Add of two methods
- one to find the index in the array list in function of the position
- another is to verify if a square is occupied

Repaired the user Touch, we can now move the pieces
2025-04-18 17:31:06 +02:00
mimie 1b2c24f007 Piece : setters added
Board : isSelected (ok ?) + UserTouch (not working)
2025-04-10 11:54:37 +02:00
mimie c25bf93f74 setPiece 2025-04-10 10:59:40 +02:00
mimie a9542b7273 populateBoard + getPieces 2025-04-10 10:48:26 +02:00