Play Real Time Tic Tac Toe here!
Overview
This project is a realtime version of Tic Tac Toe where two players can compete live in the browser.
This is kind of dumb but I think it’s fun.
Design
I wanted to use frameworks that support low latency and high performance. The game needed to support real time multiplayer and fast updates to the UI.
The JS framework used is SolidJS. This was my first time using it and I found it to be very similar to React. After having used it I kind of want to transition my personal website to it (I probably won’t). I did really enjoy use it and found it a bit easier to understand than Svelte. There is a little less magic and more explicitness which I appreciated.
The backend server is written in Rust and uses WebSockets to communicate with the frontend. I have used rust before for server side programming and found it to be very fast and efficient. Now on this note I kind of regret writing my vocab search game in Python. I did really appreciate how Rust just works once the compiler is approved. The LSP is also way more helpful than Python’s.
See Architecture for more information on the server and hosting.
Todo
- Create a favicon
- SEO
See this GitLab repo for the code and development history of this project.
Note The repo is currently private as I have some cleanup tasks I want to protect the world from