This week I worked on the starting and ending light up sequences. The starting sequences lights up the river, palace/fortress, home territory, and palace corners in blue at the start of each game as a reminder to the player of the different regions of the board. The ending sequence flashes white on the winner’s side of the board for 10 seconds. To determine which side of the board is the winner’s requires additional work and integration with the computer vision system so right now it the side of the board to flash is just a variable.
My progress is on schedule. This next week, I hope to make the connections between the strips of LEDs more secure by integrating the LED connectors that I ordered before the break. I also hope to start working on the algorithm to light up the potential moves when the player asks how a specific piece can move. My plan at the moment is to store all the ways a piece can move in a dictionary and then map them onto the board checking that they are in bounds. I will also have to switch the color if an opponent’s piece is already on one of the potential moves.
