Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Arunhegde1231/Space-Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space-Invaders

Space Invaders game implemented in openGL using GLUT. This is my take on the classic arcade video game "Space Invaders". This game is written in C and uses OpenGL.

How to Run

WINDOWS USERS:

  • Make sure you have GLUT installed
  • Copy the contents of the main.cpp file to your code editor or IDE and compile and run it.

macOS USERS:

  • You must have Xcode Command Line Tools installed. Run this command in the Terminal.

    xcode-select --install

  • Copy the contents of the main_macos.cpp file to your code editor or IDE and save it as 'project.cpp' .

  • to compile and run the program run these lines in the Terminal.

    g++ -framework OpenGL -framework GLUT project.cpp

  • Now that the file is compiled, run it using:

    ./a.out

About

Space Invaders game implemented in openGL using GLUT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages