Show HN: Egyptian Ratscrew Online
playcards.club
playcards.club
I have a lot of fond memories playing Egyptian Ratscrew (the card slapping game) growing up so I wanted to create an online version to play with friends and to practice creating a website. In this online version, you can play against either friends or bots. It's definitely not quite the same as in person, but there's a reaction time tracker so you can finally determine the most skilled player. The slapping rule set is customizable with the following options:
-Double
-Sandwich
-Add to Ten
-Marriage
-Top / Bottom
There are also keybindings for playing cards and slapping:
- any key from 'a-z' works for 'play'
- spacebar maps to 'slap'
I'd love to hear any suggestions/feedback. This is the first website I've worked on long enough to show people so I would greatly appreciate any advice!
Firefox on desktop Linux here.
So fun, but I'm so terrible at this now. I remember playing after lunch in middle and high school back in the 90s.
What kind of tricks did you employ to account for things like latency, etc. when calculating reaction time?
The current implementation is naive, so it's just the time difference between when the slap is received and when the previous card was played.