Skip to content

kubapadlo/StudentSimulatorGame

Repository files navigation

StudentSimulatorGame

NOTE It was my first uni project, so it's a bit chaotic and doesn't obey every OOP rule, but i was really satisfied with the result.

Student Simulator Game 🎓

A student life survival simulator developed in C++ using the SFML library. Manage your hunger, exhaustion, and finances while fighting off hooligans to survive the week and pass your final exams!


🎮 Game Description

  • Survival Stats: Monitor Health, Hunger, Sleep and Money.
  • Locations: On map there are few interactive locations where you can sleep, eat, shop and study
  • Combat: Hooligans appear on the map at night. Defend yourself by throwing bottles!
  • Goal: Reach 20 Knowledge points within 5 days without dying.

🚀 Quick Start

Tutorial prepared for Visual Studio IDE. This project uses vcpkg in manifest mode. This means the SFML library will be downloaded and configured automatically when you first build the project.

1. Install and Setup vcpkg

  1. Open PowerShell or CMD as an Administrator and navigate to a folder where you want to keep vcpkg:

    git clone https://github.com/microsoft/vcpkg.git    # download
    .\vcpkg\bootstrap-vcpkg.bat     # build
    .\vcpkg\vcpkg integrate install     # integrate
  2. Clone this repository:

    git clone https://github.com/kubapadlo/StudentSimulatorGame.git
  3. Open the project: Double-click StudentSimulatorGame.sln to open it in Visual Studio 2022.

  4. Set the Working Directory (Crucial for Assets):

    • Right-click on the project name in Solution Explorer -> Properties.
    • Go to Debugging -> Working Directory.
    • Set it to: $(ProjectDir)
    • This ensures the game looks for fonts and textures in the assets/ folder.
  5. Run the game: Good luck, have fun! :)


⌨️ Controls

  • WSAD: Character movement.
  • SPACE: Shoot/Throw bottle.
  • MOUSE (LMB): Interact with menus, shop items, and buttons.
  • ARROWS / ENTER: Navigate and select options in the Main Menu.

🛠️ Technical Specifications

  • Language: C++ 17/20
  • Library: SFML 2.6.1
  • Package Manager: vcpkg (Manifest Mode)
  • IDE: Visual Studio 2022

GameSS

More gameplay screenshots in folder /screenshots

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages