Commit Graph

83 Commits

Author SHA1 Message Date
hugomanipoud2 7ab2b45919 Ts works ! needed to add back the Y with the for loop and now it
higlights the grid where i want and doesnt highlight the intial piece !
i have the original bluetile and the yellow ones
2025-05-20 15:00:33 +02:00
hugomanipoud2 817cf0511c trying things, kind of doesnt work but still progress 2025-05-20 14:56:49 +02:00
hugomanipoud2 3164fcde7c almost same as isSelected, understanding that i need to playwith
coordinates in if statements
2025-05-20 14:38:40 +02:00
hugomanipoud2 2f327e8af7 trying working with isHiglighted 2025-05-20 14:29:33 +02:00
hugomanipoud2 4087571352 implementation of movePiece and needPieceDeletion to Move class ! 2025-05-20 10:30:14 +02:00
hugomanipoud2 dbe928ce78 added a break statement to needpieceDeletion and everything works ! 2025-05-19 17:19:10 +02:00
hugomanipoud2 8f5a17fc1a needPiecedeletion implemented, it suppress the piece but doesnt move the
moving piece to the desired place
2025-05-19 17:08:31 +02:00
hugomanipoud2 63518d092e working on movePiece to remove pieces, might want to create another
method
2025-05-19 16:39:49 +02:00
hugomanipoud2 be812038d3 fixed the issue, setSelected had its if statement compparing selY with X
instead of Y, due to copy paste the line elsewhere and not verifying
2025-05-19 15:10:26 +02:00
hugomanipoud2 0a8cd17dc6 usertouch works for the 0,1 and the 6,7 collumns ? idek 2025-05-19 14:16:44 +02:00
hugomanipoud2 b821a42571 clean board now reset turnNb, advancements on usertouch, the turn
counter now works sometimes, the pieces dont move, idk
2025-05-19 13:11:14 +02:00
hugomanipoud2 651ef9ef43 added dockstrings explaining yuesterday's work 2025-05-19 12:47:44 +02:00
hugomanipoud2 0a2d60c62e implementation of movepiece, usertouch advancement and verification of
isturn white and turn nb, OK
2025-05-18 21:13:19 +02:00
hugomanipoud2 4adb78abfc correction isselected now not selecting all pieces 2025-05-18 20:51:46 +02:00
hugomanipoud2 c87dfd94b5 isSelected finished, working on usertouch 2025-05-18 19:58:42 +02:00
hugomanipoud2 a4250943d4 isturn white done 2025-05-18 19:32:48 +02:00
hugomanipoud2 faa41e63cd set piece done 2025-05-15 18:55:51 +02:00
hugomanipoud2 6d5e762636 ToString finished 2025-05-15 15:51:08 +02:00
hugomanipoud2 f7a946b576 functional to string method ! 2025-05-14 16:48:34 +02:00
hugomanipoud2 e44c7ad881 Saving progress for toString, does not work 2025-05-14 16:31:02 +02:00
hugomanipoud2 164481ca87 pieces are appearing !! coordinate changes (from 1 to 8 to 0, 7. it was
an evidence but i did thought about it before)
2025-05-14 16:01:03 +02:00
hugomanipoud2 665e011dce constructor for getPieces as i have no idea why it is in the method,
pieces.clear
2025-05-14 15:39:35 +02:00
hugomanipoud2 13c3faafe4 populate board finished ? idk it doesnt work, maybe with setpiece 2025-05-12 16:08:10 +02:00
hugomanipoud2 d9622cdf16 last commit of day 2025-05-09 11:48:47 +02:00
hugomanipoud2 497b0a7a0d jsp mais je commit 2025-05-09 11:04:35 +02:00
hugomanipoud2 8225151d90 adding indexes to pieces to create disparate objects 2025-05-09 10:17:45 +02:00
hugomanipoud2 b6d66394af iswhite method 2025-05-09 09:46:47 +02:00
hugomanipoud2 f01cc5d127 testcommitpiecetype 2025-05-09 09:39:43 +02:00
hugomanipoud2 e1c893cada piecetype done 2025-05-09 09:37:20 +02:00
hugomanipoud2 242691796e piecetype work 2025-05-09 09:19:34 +02:00
hugomanipoud2 4dc627050c small update with constructors 2025-05-09 08:16:03 +02:00
hugomanipoud2 92d7cc6aeb lab 8/04 2025-04-08 11:55:10 +02:00
hugomanipoud2 79e29ec396 init repo 2025-04-08 09:30:59 +02:00