$ stat ./projects/rps.md
Title: Rock, Paper, Scissors
Date: 11/30/2025
Description: A fun, terminal-based Rock, Paper, Scissors game written in modern C++23. Perfect for kids and adults alike! Built by a dad for his son to enjoy.
A fun, terminal-based Rock, Paper, Scissors game written in modern C++23. Perfect for kids and adults alike! Built by a dad for his son to enjoy.
# Compile the game
g++ -std=c++23 -O2 -o rps rps.cpp
# Run the game
./rps
Or using Make (if available):
make
./rps
Choose your move:
1 for Rock šŖØ2 for Paper š3 for Scissors āļøBuild streaks: Win consecutive games to build your streak!
Beat the leaderboard: Get on the top 15 streak list by achieving long winning runs
Track your stats: See your win rate and choice patterns at the end of each session
~/.local/share/rps/leaderboard.txtrps/
āāā rps.cpp # Main game source code
āāā rps # Compiled executable
āāā Makefile # Build configuration (optional)
āāā README.md # This file
std::mt19937)std::filesystem for cross-platform directory handling~/.local/share/rps/)This is a simple educational project, but feel free to submit issues or pull requests if you have ideas for improvement:
This project is open source and available under the MIT License.
I wrote this game as a fun, educational project for my son to play and learn from. It demonstrates fundamental C++ concepts like:
It's designed to be simple enough for beginners to understand while still being fun to play!
Finding related projects...
$ cd .. && ./projects.sh
ā Back to all projects