Commit Graph

89 Commits

Author SHA1 Message Date
Alexandre ALTARIBA a3e65fcb81 ai but can't make it work well 2025-05-23 22:08:17 +02:00
Alexandre ALTARIBA 4f71803aa7 autoplayer not working bu the rest is 2025-05-23 20:57:36 +02:00
tothe fd9f2cce62 save / load partially fixed, still an error with cells and selectedcell 2025-05-22 23:15:38 +02:00
MSI 3669b81822 Checkmate movement is done bu adding two method isCheckmate and
isKingInCheck
2025-05-22 23:00:52 +02:00
MSI 7eb4e34674 Merge branch 'master' of
https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git
2025-05-22 22:51:17 +02:00
MSI 8948654df8 for board: modify the methods since we couldn't find a fi string. 2025-05-22 22:46:07 +02:00
Noa FOUR cc68d0451d Alexandre's part update of isHighligthed usedTouch 2025-05-22 22:23:50 +02:00
MSI 3f88a4ea3c method for PlayMove, isSelected, userTouch are modified, So now all the
pieces respect the chess rule and its turn.
2025-05-16 11:49:14 +02:00
MSI e58aff7c0e Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-05-16 11:30:42 +02:00
MSI dcb220d7bd commit undoLastMove, the undo bottom is work now 2025-05-16 11:26:09 +02:00
tothe 12661255b4 corrected loading system (useless parts) and fully commented it + saving 2025-05-16 10:34:09 +02:00
MSI 159b0f3e83 commit ishighted, now all the pieces are highted for their possible move 2025-05-16 09:35:00 +02:00
MSI 0c6c2ca9c1 setting up 2025-05-16 09:02:57 +02:00
tothe a6170e7728 playmove is done (in board class) 2025-05-15 22:31:56 +02:00
Noa FOUR 08f48df26b Undo method 2025-05-10 17:43:26 +02:00
MSI 66b6416e6f Board 2025-05-06 16:18:06 +02:00
MSI d4de2f66b2 fix string 2025-05-06 16:14:04 +02:00
MSI f128c00c03 fixed to string 2025-05-06 16:12:35 +02:00
tothe ca4c22f545 Optimised loading function (moved everything in the same constructor) 2025-05-06 15:24:33 +02:00
tothe 2417b7b2ba IT WORKS !! So now we can save and load boards :) 2025-05-06 15:10:16 +02:00
tothe 16c4594e37 Saving system works fine but loading doesn't, imma try to fix it but no
errors in the code :)
2025-05-06 14:59:05 +02:00
Noa FOUR 615c17ad42 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_Group1B2_Project 2025-05-06 14:46:12 +02:00
Noa FOUR e01db0d8cf Fix toString method 2025-05-06 14:43:38 +02:00
tothe be0d7e417f Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-05-06 14:23:42 +02:00
tothe 718242d8ec Saving system done 2025-05-06 14:23:08 +02:00
MSI 32e471ee24 mcn 2025-05-06 14:02:13 +02:00
MSI 9be5c6a40a Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-05-06 14:01:27 +02:00
MSI 806c27ab5f mdnjs 2025-05-06 13:57:08 +02:00
MSI e306c33f3e test again 2025-05-06 13:52:33 +02:00
MSI 87badde599 test again 2025-05-06 13:51:01 +02:00
Noa FOUR d883a7ace7 toString method 2025-05-06 13:43:55 +02:00
MSI 32042357ce search for push 2025-05-06 13:42:01 +02:00
MSI f205d3cc27 return to work 2025-05-06 13:37:52 +02:00
MSI a1a0b9e9a9 return to work 2025-05-06 13:34:33 +02:00
Noa FOUR e0cd23750e Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_Group1B2_Project 2025-05-02 23:26:50 +02:00
Alexandre ALTARIBA a81ad7881f usertouch method works but there is a lot to add (not take if same
color, impose the way of moving for each piece and set other same color
pieces as obstacles.)
2025-04-24 21:02:22 +02:00
Alexandre ALTARIBA 56e20c9526 pieces appear ! and addition of a small loop that show in the terminal
all pieces and their place
2025-04-20 20:46:03 +02:00
Alexandre ALTARIBA cd59243c01 populate board and cleaned the code (pieces exist but are not displayed) 2025-04-20 18:53:35 +02:00
Jerome ALTARIBA cabf493202 setPiece in Game (important) 2025-04-20 12:18:09 +02:00
Noa FOUR f358d82b51 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_Group1B2_Project 2025-04-18 17:22:07 +02:00
Noa FOUR 617a81b0f9 Merge branch 'master' of
https://gitarero.ecam.fr/noa.four/OOP_1B2_Project
2025-04-18 17:21:22 +02:00
Jerome ALTARIBA fe3558e7b9 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-04-18 17:19:42 +02:00
MSI e7726a3283 Merge branch 'master' of
https://gitarero.ecam.fr/noa.four/OOP_1B2_Projec.git
2025-04-18 17:17:02 +02:00
Noa FOUR ccf5a9a951 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_Group1B2_Project 2025-04-18 17:16:32 +02:00
Jerome ALTARIBA 9a9b098bf0 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-04-18 17:15:52 +02:00
Alexandre ALTARIBA 79ecbf217d remove set from game 2025-04-18 17:15:34 +02:00
MSI d4a4d2c42c Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_1B2_Project.git 2025-04-18 17:15:21 +02:00
MSI d106b50d24 public string 2025-04-18 17:15:12 +02:00
Alexandre ALTARIBA e3ad4825ea fixed setPiece 2025-04-18 17:14:57 +02:00
Noa FOUR bc7de99585 Merge branch 'master' of https://gitarero.ecam.fr/noa.four/OOP_Group1B2_Project 2025-04-18 17:12:12 +02:00