Recreating Atari's Centipede arcade game using C++ and SFML.
My first semester coding project, where I had to recreate Atari's Centipede Arcade Game using C++ and SFML. SFML was used for graphic/audio purposes, whereas the logic was implemented using simple C++ beginner concepts.
In this game, the player fires bullets at a centipede as it makes its way down the game window, when it hits the edge of the window or a mushroom. Whenever the player hits a segment, it is destroyed and a mushroom is left behind. The centipede also splits into 2 centipedes at this point. This continues until all segments are destroyed. The game contains levels where the centipede speeds up and more mushrooms spawn at the beginning of gameplay. The player earns points for shooting different game objects.
For more information: retrogamedeconstructionzone
Make sure GNU g++ compiler is installed in the system. Also install SFML.
g++ -c Centipede.cpp
g++ Centipede.o -o sfml-app -lsfml-graphics -lsfml-audio -lsfml-window -lsfml-system
./sfml-app