Inspiration
We have over 5000+ races in typeracer.
What it does
Typing game with newer fast-paced gamemodes
How we built it
We used react to build the front-end with a simple http-server back-end to handle web-sockets.
Challenges we ran into
- States, Sockets and Hooks...
- ran into useEffect() hell having to listen to so many different game events
- at some point in our implementation, a combination of useState and useEffect resulted in a memory leak
- not fun having to try fix an otherwise working frontend at 2am
- IntelliSense more like Dumbtellisense >:(
- was working fine for all other projects, but suddenly decided that things like suggesting imports were too high IQ
- 400k word
human genome projectdictionary- reading a 400k word into memory takes 10000 years and sucks to parse into memory
- resolved to reading chunks at a time and using a 200 IQ moving window binary search
Accomplishments that we're proud of
- Using web sockets for the first time
- Finishing
What we learned
- Why some people hate JS
- TailwindCSS is pretty cool
- socket.io is amazing
What's next for CAPSLOCK
- Single player mode against an AI or other players
- More gamemodes to play with your friends
- Limit Attack & Defend words to a chosen topic
Log in or sign up for Devpost to join the conversation.