This week, my major contribution to the project is that I finished all the logic regarding the webapp gomoku logic, mainly the algorithmic side. Specifically, I designed the data structure to store the game state, completed the board integrity checks (checking if a move is legal) and the algorithm for checking the winning state using a Breadth First Search approach (for each new piece placed onto the board, a check for the four directions starting from that note (x,y) will be executed and if one of the directions (left_right, top_down, t_left_b_right, t_right_b_left) has >= 5 pieces of the same kind, that colored player will win and the game state will also change accordingly.
By now, the major logic for the software is complete, and the rest of the work will be to connect the arduino module of the hardware to make the move from one of the players and we will call it done for the software side. I would say that this week we have a major progress in the software side. Starting next week, I will start to develop the gantry system that we’ve left over due to the travel emergencies last week. The progress for our webapp is good, the only thing is to catch up with the gantry.