Devlog #9 (1 day until GF birthday)
TL;DR: finished tic tac toe, added icons to show if the bepper lost internet connection and updated the 3d model
my project in short
my project is a “beeper” with an eink display, it will feature three low profile mechanical switches, esp32, battery and a 3d printed case to tie it all up.
ill be building two of them and gifting one to my GF on her birthday later this month!
what did i do?
- online tic tac toe works now
- icons to show if the connection is lost and automatically reconnect
- updated 3d model to actually use M4 screws
how do they talk to eachother?
i made a comic to demonstrate it cuz ik yall aint reading all that but if u want to read it in more detail:
-
the first player sends to the other a message “TTT_JOIN” in /games
then start listening to /games/TTT (channel where all the game communication will happen) -
the second player will receive that message and will get a notification that someone is waiting to play tic tac toe
-
then if he wants he will join the the game and send a msg on /games/TTT that he joined
-
both screens will update and show the tic tac toe board.
each player will take his turn and send a message in /games/TTT with a
row and a column of the place he chose to play and the screen will update accordingly. -
when the game ends they could request a rematch and will start this whole process again
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.