Skip to content

jrchatruc/space_invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

A Space Invaders emulator written in C, following Emulator 101.

Requirements

Only tested on Linux and macOS. On macOS all you need is to run

brew install sdl2

On linux, you most likely need to install both SDL2 and SDL2-devel.

Usage

Place the invaders.e, invaders.f, invaders.g and invaders.h files on the game_files directory and then run the game with:

make run

The controls are:

  • C to insert coins
  • Return to start the game once coins are inserted
  • Arrows to move
  • Space to shoot

Only supports player one for now.

Tests

The 8080 processor test structure is essentially copied from this 8080 emulator. To run all tests:

make run_tests

TODO

Play the game sound.

Other References

About

A Space Invaders emulator written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published