Commit Graph

39 Commits

Author SHA1 Message Date
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
mimie 9cc1b9ba1b remove test 2025-04-10 09:47:25 +02:00
mimie 3faf48a18f test 2025-04-10 09:42:06 +02:00
cm 31cb44978a class Piece filled 2025-04-10 09:34:24 +02:00
mimie d5d54cb412 Board constructor and getters 2025-04-10 09:18:02 +02:00
mimie f84e465778 creation project 2025-04-10 09:09:13 +02:00