Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.9 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.9 KB

GameBoy: OOP Semester Project

Overview

GameBoy is a semester project developed by Mushahid Hussain & Ahmad Bilal as part of the Object-Oriented Programming (OOP) course at FAST-NUCES, Islamabad Campus, under the guidance of Sir Aqib Rehman. The project is inspired by the classic GameBoy device and integrates three games—Hangman, Snake, and Wordle—into a single application. It showcases core OOP concepts, manual file handling, and graphical implementation using SFML (Simple and Fast Multimedia Library).

Features

  • Multiple Games:
    • Hangman: A word-guessing game with visual feedback and a hint system.
    • Snake: The classic snake game with dynamic scoring.
    • Wordle: A word-puzzle game with feedback for correct/incorrect guesses.
  • Leaderboard:
    • Displays the top 7 players with scores from all games.
    • Automatically updates and prevents duplicate player entries.
  • Save and Load:
    • File handling for saving and retrieving game states and high scores.
  • SFML Graphics:
    • Rich graphical interface for game visuals and leaderboards.

Development Details

  • Language: C++
  • Graphics Library: SFML (Simple and Fast Multimedia Library)
  • Key Concepts:
    • Manual implementation of arrays and logic without using vectors or advanced STL containers.
    • Object-Oriented Programming (OOP) principles.
    • File handling for persistence (scores, states, leaderboard).

How to Run

  1. Open the .sln file in Visual Studio.
  2. Build the project in Debug or Release mode.
  3. Run the executable and enjoy the games.

Screenshots

Credits

  • Authors: Mushahid Hussain & Ahmad Bilal
  • Instructor: Sir Aqib Rehman
  • Institution: FAST-NUCES, Islamabad Campus

License

This project is licensed under the MIT License. You are free to use and modify it with proper attribution.