InterviewDB
Question
Rock Paper Scissors: Implement a Multi-Round Game Engine with Stats Tracking
Onsite
Question Details
Round 1 - Coding Problem Implement a Rock Paper Scissors game engine. Support two players (human or bot), track wins/losses/draws per player, and return a match summary after N rounds. Example Follow-ups How would you add Rock Paper Scissors Lizard Spock? What data structure best represents the win/loss matrix? Implement a simple bot strategy: always play the move that beat the opponent's last move. How do you validate that moves are legal and handle invalid input gracefully? How would you seria…
Full Details
🔒
Unlock all Ramp questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a ramp interview during the onsite round.