Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Game made in SDL

The idea for the game is shown is ASCII art below

##################
#                #
#          %%    #
#          %*    #
#         * | *  #
#    %%          #
#    %%          #
#    %%          #
#                #
#                #
#                #
#                #
#    |           #
#                #
#    p           #
#                #
##################

The repository implements two different version of the game, one written in c11 and the other written in C++20. No libraries outside of SDL2 or libc/libc++ is used. The c version of the code is in branch processing_like, as the main logic file, app.c is meant to emulate the style of processing. The branch cpp contains the C++ version of the program, though the design paralles the C version and attempts to be just as friendly. Both versions are designed so as to have the game logic code be removed and another game easily built on top instead. The master branch contains a simple starter file to get up and running with SDL and a game loop. Both versions of this project started from that file and much of it is still present in the other versions. This branch will maintain this starter file

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages