Commit Graph

19 Commits

Author SHA1 Message Date
eliot 95aa5f0c34 added turn tracking variables, updated constructor, getTurnNumber,
isTurnWhite, userTouch updated
2025-05-07 16:19:08 +02:00
eliot 2ec7d1da61 userTouch and isSelected methods and setters is piece class 2025-05-07 15:44:48 +02:00
eliot b2a5923ded Modification of the String toString, make it easier 2025-05-07 15:09:33 +02:00
eliot 58f64e97db Commented all the lines that are printing smthg 2025-05-07 14:46:31 +02:00
eliot 784b852cd9 pieces file changed because corrupted 2025-05-07 14:40:46 +02:00
eliot df2bf3df9f board initialisation (and test) 2025-05-07 14:32:53 +02:00
eliot dfdf692e0b reset interface code to default 2025-05-07 14:31:00 +02:00
Juliette 40bd5cb73b In JPanelChessBoard in setcolor, put (x+y)%2 == 0 instead of ==1 to
correct the chessboard.
2025-04-17 11:30:51 +02:00
Juliette ad70ff95d1 Main: test lines for Piece 2025-04-17 11:18:58 +02:00
Juliette fe64a4abe3 Piece isWhite 2025-04-17 11:18:30 +02:00
eliot 5d33e1ed08 Merge branch 'master' of
https://gitarero.ecam.fr/juliette.lochen/OOP_G2A1_ChessProject.git
2025-04-17 10:55:12 +02:00
eliot f48ece0cc5 getX, getY, getType 2025-04-17 10:53:55 +02:00
eliot 28357d2303 getX, getY, getType 2025-04-17 10:53:10 +02:00
Juliette a0fd63edcd Piece getX, getY, getType + test in main for them 2025-04-17 10:51:08 +02:00
Juliette 46731482c8 Initialised board, getwidth and getheight done 2025-04-17 09:50:30 +02:00
eliot 4bfe28830b a few comments in piece type 2025-04-17 09:31:32 +02:00
eliot 1361a2e675 testing 2025-04-17 08:55:29 +02:00
eliot aa7f807c01 test push 2025-04-17 08:52:55 +02:00
Juliette 0ac1a0effd initialise repository 2025-04-17 08:39:30 +02:00