Gaming Zone is a C++ collection of six mini-games with a colorful terminal interface. It now also supports browser access through a web terminal, so you can launch it in a browser tab.
-
❌⭕ Tic-Tac-Toe
Classic 2-player grid game. Get 3 in a row to win. -
✊✋✌️ Rock-Paper-Scissors
Challenge the computer and see who wins the best of rounds. -
🎲 Number Guessing Game
Guess the correct number in as few tries as possible. -
🐍 Snake Eating Food
Move the snake, eat the apples, and avoid the walls. -
🎭 Hangman
Guess the hidden word one letter at a time before the stickman is complete. -
🧩 Sudoku Game
Solve a Sudoku puzzle manually and race against time.
- Colorful terminal-based UI with ANSI escape codes
- Modular C++ game structure with separate header/source files
- Browser access through a local web terminal
- Works well in Linux, macOS, and Windows terminal environments
On Ubuntu/Debian:
sudo apt update
sudo apt install -y build-essential ttydOn Windows, use WSL or a terminal with a C++ compiler installed.
g++ main.cpp ticTacToe.cpp rockPaperScissors.cpp numberGuessingGame.cpp snakeEatingFood.cpp hangman.cpp sudoku.cpp -o GamingZone./GamingZoneRun the browser terminal server:
ttyd -p 7681 bash -lc 'cd /path/to/Gaming-Zone && ./GamingZone'Then open:
http://127.0.0.1:7681/
This project is a terminal-based C++ app, so Netlify cannot run the compiled binary directly. The easiest way to publish a web presence is to host a simple static landing page and link to your browser terminal.
- Keep the project files in a GitHub repository.
- Add a simple static page such as index.html.
- In Netlify, create a new site from GitHub or use Netlify Drop.
- Set the publish directory to the project root.
- Deploy the site.
- Go to https://app.netlify.com/
- Click "Add new site" -> "Import an existing project"
- Choose your GitHub repository
- Leave the build command empty and set the publish directory to
. - Click "Deploy site"
If you want a fully interactive web game instead of a terminal view, the games will need to be rewritten in HTML/CSS/JavaScript. The current C++ version is best suited for local play or browser-based terminal access.
- main.cpp – Main menu and game launcher
- ticTacToe.cpp and ticTacToe.h
- rockPaperScissors.cpp and rockPaperScissors.h
- numberGuessingGame.cpp and numberGuess.h
- snakeEatingFood.cpp and snakeGame.h
- hangman.cpp and hangman.h
- sudoku.cpp and sudoku.h
- index.html – Simple landing page for Netlify hosting