Mathblitz banner

Mathblitz

8 devlogs
29h 12m 8s

Competitive versus mental math game

Aidan Chang
  • successfully cached each page
  • added a levelling system that is database persistent
  • my score balancing is waaaayy off (5k for each level but one game is 113k) so that’s something that i need to fix
Attachment
0
Aidan Chang
  • 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
0
Aidan Chang

I added the ability to search up users by their username while also being cost efficient in terms of database queries

0
Aidan Chang

Added functionality for sending and accepting friend requests as well as seeing accepted friend requests
most just did stuff for friend requests

0
Aidan Chang

I started to flesh out the profile page, adding the basic stuff with fields from the database. i also added some functionality for other users and viewing their profile, but i haven’t added a way to search other users yet so i cant show that yet lol

0
Aidan Chang

for this update:

  • finished adding to the database after a game is finished
  • reorganized the frontend into the rough format that i want (still need to fix each page)
  • added matchmaking for ranked gamemode
  • added combo scoring during the game
0
Aidan Chang

Here’s what I have for this update:

  • finished a basic version of the actual gameplay, from start to finish (see video)
  • separated the game react page into 2 distinct components, the active game and custom lobby (the matchmaking will take place in the main lobby and not a game lobby)
  • implemented the scoring
  • TODO: combo scoring + update magnifiers for scoring (1000 looks a lot better than 1)
    - both game send at different times, so i have to fix that too
Attachment
0
Aidan Chang

Now that the deadline got extended, I might be able to finish this project!
This is mathblitz, a competitive mental math game that I plan on making. Here’s what I have so far:

  • websocketing
  • logins connected with Prisma
  • really bad UI
  • frontend-backend interaction that works
Attachment
Attachment
0