Micro machine game in C++

In this Object-oriented Programming course project, we developed a Micro Machine-style game. It features advanced physics and graphics, implemented using the Box2D physics engine and the SFML library.

Development Environment

  • Languages Used: C++
  • Libraries:
    • Box2D: For physics simulation
    • SFML: For graphics, user interface, and sound
    • nlohmann: For handling JSON files

Basic Features

  • Gameplay: Basic gameplay with simple driving physics
  • Multiplayer: Supports up to 2 players on the same computer
  • Tracks: Multiple tracks loaded from files using a Resource Manager
  • Game Objects: Interactive elements like Collectables and Obstacles

How to Play

  1. Choose the number of players.
  2. Select a map.
  3. Controls:
    • Player 1: Use Up, Right, and Left arrow keys.
    • Player 2: Use W, A, and D keys.
  4. Superskill Activation:
    • Player 1: Press Enter
    • Player 2: Press E
  5. The first player to win 3 rounds is the victor.

Building and Usage