Commit Graph

21 Commits

Author SHA1 Message Date
USer b5aa58a2a6 New method is added in JPanelChessBoard, so now when the black chess win
it shows W in chess board
2025-05-16 12:27:50 +02:00
USer 228227f073 In class JPanelChessBoard is change the colour of the frame and the
colour of the posible move is also changed, now when the king is death
the game is over by adding method isGameover
2025-05-16 10:27:25 +02:00
USer 9536276f78 Class AutoPlayer is created, now when the white and black blocks are
clicked the while and black chess will move automatically, but when the
king is dead they game still continuing, so more method should be added
2025-05-15 22:32:32 +02:00
USer a874918387 Class move is created, method undoLastMove is created, so the button
Undo is activated, Method isHighlighted is created so each type of block
is highlighted respecting the rule of chess, method userTouch is created
so the block is able to select only if it is respecting turn and
condition of the block.
2025-05-15 22:28:26 +02:00
USer f526a34f58 Setting up 2025-05-15 22:14:31 +02:00
USer 41eeb12bb3 Setting up 2025-05-15 22:12:11 +02:00
Tikea TE 595d20069f added some rules can only move if its highlighted 2025-05-06 16:12:48 +02:00
Tikea TE e296422c81 able to move only within the highlighted cells 2025-05-06 15:42:27 +02:00
Tikea TE 3ff691cdac adding the highlights function 2025-05-06 15:38:33 +02:00
Tikea TE 503be4c1ff completed the step useTouch() 2025-05-06 15:00:08 +02:00
Tikea TE caa537323c completed the setPiece step(but also remove the previous piece) 2025-05-06 14:11:14 +02:00
USer 4203e9f88f Merge branch 'master' of https://gitarero.ecam.fr/tikea.te/OOP_group1A1_project.git 2025-05-06 13:55:57 +02:00
USer c4012d5e99 Method setPiece is created 2025-05-06 12:32:54 +02:00
Tikea TE 96cc2788c1 modifying the for loop styles but keep the same function, and add some
documentations
2025-05-06 09:55:46 +02:00
Tikea TE b1e2a261d6 these is no change here 2025-04-10 15:20:50 +02:00
Tikea TE af2d8d7c4e now able to print out the current state of the chess board 2025-04-10 11:54:37 +02:00
Tikea TE c280b179c4 populateBoard working now 2025-04-10 11:39:09 +02:00
Tikea TE 45abb2e6e0 first step done 2025-04-10 10:01:25 +02:00
Tikea TE bd9365756f adding the main file 2025-04-10 09:43:46 +02:00
Tikea TE fc1a36f960 files provided 2025-04-10 08:58:51 +02:00
Tikea TE 748897015d Initializing the project 2025-04-10 08:43:39 +02:00