Skip to content

Rocco2300/asteroids-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids clone

Overview

This is a small clone of the retro game asteroids.

I started making it with the purpose of learning to use SFML, get comfortable writing C++ code, and managing a 'larger' project.

Screenshots

Title_Screen Game

Dependecies

  • CMake 3.23
  • GCC 11.2 or equivalent

Build

  1. Clone the repo and deps
git clone --recurse-submodules https://github.com/Rocco2300/asteroids-clone.git
  1. Go to install dir and create build directory
cd asteroids-clone
mkdir build
  1. Build using CMake
cmake .. -G "MinGW Makefiles"
cmake --build . -- -j4 -O
  1. Run executable
./asteroids-clone

After the project is built, you will just have tu run the executable.