shrawani21 / gamer_21

Dots & Boxes
MIT License
55 stars 117 forks source link

Implemented primary functionality- Playerwise joining dots #61

Open ManogjnaSinguluri opened 1 month ago

ManogjnaSinguluri commented 1 month ago

https://github.com/shrawani21/gamer_21/assets/114799185/ff8d8b5a-acfb-4eec-b0ce-78e91b2ff9de

I have implemented the player-wise joining dots functionality .As depicted above

  1. Players can turn-wise join two adjacent dots by clicking on them(which were not joined previously)
  2. When A player clicks on a do it turns yellow indicating the start point from there, he can join any adjacent(only) dot
  3. If a player completes a box it turns into red or blue(depending on the player which the box belongs) indicating the box is owned by respective player Please let me know if any changes need to be done Thank you
ManogjnaSinguluri commented 1 month ago

@shrawani21 Please review it ,as part of GSSOC'24 and let me know if any changes need to be done

shrawani21 commented 1 month ago

@ManogjnaSinguluri