Commit Graph

17 Commits

Author SHA1 Message Date
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