- Used Tailwind CSS to center the text on every screen
- Used TanStack Query to render the the database and cache it in order to save database queries
- Added a back button onto every screen
- Used Rechart in order to add a graph of both user’s scores at the end of the game
- Turned the timer into a smooth progress bar
For the future, I probably want to cache each page when a user visits it for like an hour so that it doesn’t have to load every time and then figure out why it takes like 10+ seconds for a game to load when the database filling finishes in like 2 seconds
Log in to leave a comment