A cute reimagining of the classic Space Invaders arcade game, built from scratch in C++ as a learning project focused on core game development concepts.
This repository contains a compact SFML prototype with the core gameplay: player movement, alien waves, shooting, collision detection, score, and game states.
Prerequisites:
- C++17 compatible compiler
- CMake >= 3.10
- SFML 2.5 (graphics, window, system)
Build and run (example):
git clone https://github.com/AOngomefen/Space_Invaders.git
cd Space_Invaders
mkdir build && cd build
cmake ..
cmake --build . --config Release
# run the produced executableNotes:
- The prototype uses
assets/Roboto-Regular.ttfif present. Add a TTF toassets/or remove the font load insrc/main.cpp.
- Original Space Invaders by Tomohiro Nishikado (1978)
- Inspired by the "Build Your Own X" repository
- Raph Koster for game design insights
- Build Your Own X - Original inspiration
- Game Programming Patterns - Essential design patterns for game dev
- Lazy Foo's SDL Tutorials - Graphics library tutorials
This is a learning project — contributions, issues and PRs are welcome. Suggested next steps include adding art/sound assets, splitting code into modules, and adding unit tests for logic.
This project is intended for learning. Consider using an MIT license for contributions.