๐ฎ Classic GameBoy Project
A retro-inspired gaming platform crafted in modern C++ with SFML and powered by solid OOP principles. Featuring three nostalgic classics: Snake Xenia, Wordle, and Hangman.
๐ฏ Features
- ๐น๏ธ Multiple Games โ Snake, Wordle, and Hangman
- ๐ค Player Profiles โ Manage accounts and track scores
- ๐ฑ GameBoy-like Console Menu โ Navigate through games with retro UI
- ๐จ SFML Graphics โ 2D rendering and animations
- ๐ผ Audio Integration โ Retro sound effects for immersion
- ๐ต Game Over Screen โ Dramatic sound effects
- ๐ง Modular OOP Design โ Clean, extensible, and maintainable
๐ ๏ธ Installation
git clone https://github.com/rauf17/GameBoy_Project.git
cd GameBoy_Project
# Find and run the executable file:
i230591_OOP_GameBoy_Project.exe
โถ๏ธ Navigate to the GameBoy_Project
folder and run i230591_OOP_GameBoy_Project.exe to play.
๐งฐ Games Included
- ๐ Snake Xenia โ Grow after eating mushrooms, avoid collisions, collect coins for bonus.
- ๐งฉ Wordle Clone โ Guess the 5-letter word with limited tries and feedback tiles.
- ๐ Hangman โ Guess the word before the full man is drawn, hints included.
๐งฑ Object-Oriented Concepts Used
- ๐ Inheritance โ All games inherit from an abstract
Game
class with a unifiedRun()
method. - ๐ Polymorphism โ GameBoy runs any game via a
Game*
pointer. - ๐ Composition โ GameBoy composed of MainMenu, Player, Leaderboard, Game.
- ๐งบ Aggregation โ Multiple games share leaderboard & player access without ownership.
- ๐ง Abstraction โ Abstract
Game
defines clear interfaces for all games.
๐น๏ธ How to Play
- ๐ Snake Xenia: Arrow keys/WASD to move, eat mushrooms, avoid walls, coins give bonus.
- ๐งฉ Wordle: Guess 5-letter word, feedback via tiles, input via keyboard or mouse.
- ๐ Hangman: Guess letters, wrong guesses draw the man, limited lives, hints available.
โ๏ธ Development
- ๐ฌ Language: C++
- ๐งฐ Library: SFML (Graphics, Audio, Window, Events)
- ๐งฑ Paradigm: Pure Object-Oriented Programming
- ๐ป Tools: Visual Studio, Git, SFML
๐ฅ Credits
- ๐ฎ Game Concept: Inspired by retro GameBoy, reimagined in modern C++
- ๐จโ๐ป Developer: Abdul Rauf
- ๐ผ Music & Art: Custom and royalty-free resources
๐ฆ Repository
๐ View on GitHub
Academic Project โ Developed at FAST University. Donโt forget to โญ the repo if you like it ๐