Project Update-2.2
Happy Friday everyone. Hope everyone is enjoying their day or projects your eager to work on as I am with my project.
For this update, I worked on valid and invalid move for the pieces. To start, I set up my event to detect if square is occupied with the "spacecheck" sprite object, highlighting it red to let the player know the square is not optional to click to. Once I set that I up, I added another event to prevent that player from clicking on that square, so if they do click on it, nothing happens.
Piece is able to detect if it can move to valid square.
What I learned
Im very happy of how things are going with this project. It's fun and im understanding more on how to use booleans variables. I have better understanding with instance variables as well, I learned a bit about understanding the 2D grid and positioning of the board.
To end this update. I will probably work on getting the red pieces to detect the white pieces. Or I will work on getting the "SpaceChecks" to update their position where the mouse is over a checker piece and when it clicks on that piece, it will set its position around it.