3 ms·
Show HN: Egyptian Ratscrew Online
- eric2021 6y agoHey HN! 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!
- andrethegiant 6y agoWow this is amazing. I played this game so much as a kid. Will def try it out!
- CarVac 6y agoAs soon as I try to create a game the whole screen goes blank and nothing happens. Firefox on desktop Linux here.
- eric2021 6y agoIt's most likely a WebGL error: see if these instructions help if this is the case (https://www.interplaylearning.com/help/how-to-enable-webgl-in-firefox https://www.interplaylearning.com/help/how-to-enable-webgl-i...)
- deleted 6y ago[deleted]
- kelnos 6y agoI didn't see instructions on the site for the keyboard shortcuts. Took me a while to realize space was slap. I was pressing 'p' for play and 's' for slap. So fun, but I'm so terrible at this now. I remember playing after lunch in middle and high school back in the 90s.
- just-ok 6y agoThis is amazing! I have very fond memories of dominating my fellow middle schoolers in this game years ago; I wonder how I’d do in this version. :) What kind of tricks did you employ to account for things like latency, etc. when calculating reaction time?
- eric2021 6y agoI'm glad you like it :) 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.