4 ms·
Show HN: I Built a Rock, Paper, Scissors roguelike in React
Hey HN! What started off as a meme has turned into a passion project and I'm pretty excited about it. As the title suggests, I made a Rock, Paper, Scissors game in React. The twist is the perk shop that you can power yourself up upon wins.
I have a Node web socket backend because it started off as just a PvP experience, but I wanted people to be able to play a solo mode. That's where the Roguelike comes in. I still have plenty of features to go! But for now, it's an endless Roguelike where after each round, you get to upgrade a shop perk to make your character stronger.
I'd love to get some feedback! Feel free to try it out and ask any questions! No login or account needed.
And if you wanna see a quirky short of me putting it together:
https://www.youtube.com/shorts/8-ijQkKm3Ds https://www.youtube.com/shorts/8-ijQkKm3Ds
- airstrike 2y agoCool stuff! Since you asked for feedback, when I read "roguelike" I think single player first. Would love to play against AI, quick in and out
- xtremerps 2y agoThanks a lot for the feedback! I encountered a snag, and I'm resolving it. And once that's handled, you can feel free to check out the Daily Challenge as it was meant for exactly that purpose!
- moconnor 2y agoI just get "Waiting for the other player..." the whole time in daily challenge
- xtremerps 2y agoTotally makes sense, I found a git merge issue.. It'll be back up and running soon!
- madamelic 2y agoYou should look into smoothing out the UX with toast or other notifications so users know whether they are waiting or not. For instance, "Daily Challenge" seemingly does nothing. Single player "Survival" is seemingly stuck waiting for another player. It seems interesting but unfortunately I am entirely confused on how to use it. Buttons don't work, the tutorial references highlighting that isn't happening, other buttons seem to require multiple presses to work (such as selecting rock, paper, or scissor).
- xtremerps 2y agoThe confusion is completely understandable! As it looks like there was a merge mixup in git. It'll be back up and running soon, and I appreciate the input!
- xtremerps 2y agoDug a little deeper and seemed there was a limitation in my cloud hosting. I made some adjustments and hopefully things run a bit smoother
- CSMastermind 2y agoSeems to be broken? I'm not able to play or even complete the tutorial. Just constantly says `Waiting for other player...` and nothing on the page is interactable.
- blorenz 2y agoCongrats on shipping! Now let’s talk about the efforts of your hard work! What were your challenges during this? How were they overcome?
- xtremerps 2y agoThanks for tuning in! In terms of challenges, keeping the web socket connections in check has been a continuous challenge. Observability helps!
- desdenova 2y agoIt's not working, and it doesn't really look like a rogue-like at all, but just a turn based 1:1 game?
- xtremerps 2y agoI'm definitely no expert in roguelikes XD however the idea was to add some progression elements to strengthen your character as you progress in Survival Mode! Also, I made some adjustment to my cloud hosting that should hopefully resolve the issues
- lupusreal 2y agoI no longer understand what roguelike means.
- xtremerps 2y agoHonestly... same XD however I believe procedurally generated levels, permadeath, and progression are common characteristics?
- latexr 2y agoIs any of that present in this game? It doesn’t seem like it. Why are you using a term to define your game if by your own admission you don’t understand what it means?
- xtremerps 2y agoAh, I'm being slightly facetious because amongst the roguelike/lite community, I've noticed blurring the definitions is pretty common haha I have a game mode called Survival Mode that includes everything I listed. It's far from ideal, but it's a work in progress
- purple-leafy 2y agoDoesn’t work at all. No feedback at all.
- xtremerps 2y agoDug a little deeper and seemed there was a limitation in my cloud hosting. I made some adjustments and hopefully things run a bit smoother!
- elpalek 2y ago``` GET https://localhost:3001/socket.io/?EIO=4&transport=polling&t=PBg5rLX https://localhost:3001/socket.io/?EIO=4&transport=polling&t=... net::ERR_CONNECTION_REFUSED ``` Looks like you should set a production ENV?
- xtremerps 2y agoSeemed my cloud hosting was having some issues with the traffic, but hopefully resolved and things run a bit smoother!
- fidotron 2y agoI did my own RPS game, and to be honest absolutely struggled to make it remotely interesting. This is even if you have bots that replicate psychological ploys. It seems the interest in the game itself is like the old poker maxim “play the man, not the cards”. Unless you have a relationship outside of the game with your opponent it is just a bit too abstract. https://luduxia.com/showdown/ https://luduxia.com/showdown/
- xtremerps 2y agoNice! The graphics on here are amazing! What engine/libraries did you use?? And as far as making it interesting, seems you went the graphics route. I sacrificed that and doubled down on extraneous mechanics. Hopefully it's working now so you can see the perk shop in action
- JoeyJoJoJr 2y agoYou should check out the anime Kaiji. They play rock paper scissors, but with a limited number of cards. It goes into probability, game theory, and social engineering. Really cool show.
- xtremerps 2y agoI've been looking for another anime to get into. I gave the synopsis a quick glance and looks interesting for sure!
- LordDragonfang 2y ago> And if you wanna see a quirky short of me putting it together: https://www.youtube.com/shorts/8-ijQkKm3Ds https://www.youtube.com/shorts/8-ijQkKm3Ds Please buy yourself a pop filter for your mic if you're going to mess with the gain
- xtremerps 2y agoRIP anyone's ear drums with headphones I suppose haha yeah listening back in post production and I just had to run with it. Will probably invest in future videos
- turtlebits 2y agoDid this ever work? It's failing to request a URL on localhost:3001...
- xtremerps 2y agoI made a few adjustments in cloud and should hopefully be resolved now!
- jt2190 2y agoNegatives: I just played a round against a computer opponent. I’m still not sure if my player was on the left or the right side, I guess my health was on the bottom because when that went to zero the game was over. I’m also not sure if I need to know what Merp means. Positives: Gameplay was snappy, audio was a nice touch, characters make it feel more competitive like you’re building up to a “boss” battle.
- xtremerps 2y agoHey thanks a lot for the feedback! These are all great points to include in the tutorial. The goal is to definitely minimize confusion XD Glad you enjoyed the gameplay
- latexr 2y agoThe AI is pretty dumb, at least in the tutorial. They bought a powerup that makes them win if they ever tie with rock. So logically, since it’s in their best interest to play rock (they win if I play either rock or scissors), they’ll obviously spam it. Which they did. I kept playing paper every time and winning until they died.
- xtremerps 2y agoOh yeah that was by design. Didn't want to hammer players down too hard in tutorial XD AI is a bit more challenging in Survival Mode! And the Daily Challenge is the same pattern for all users and changes daily.