btt2 is a C game developed for documentation and good practice techniques purposes. The first release of btt can be downloaded here, this release have a more procedural and not scalable way of thinking, but btt2 wants to apply all the C language power for make a great scalable, readable and ready to change game. Install It!
-
Linked-lists to perform data representation in a more cleaning and performance way.
-
Hashmaps to avoid switch structures.
-
Component oriented like programming mixing structs and function pointers.
-
Anti-if way of thinking. (know more here)
Like I say, this game attends to be a beauty way to learn good practices, not only for the C language, avoid conditional structures, comment everything you can and think every codeline twice are good practices for all the languages and code developers.
This game attends to has a strong standard, maintain a really nice change-log and perform a serious project in every state.
Run the following commands in your favorite shell: (maybe you require sudo permition)
$ git clone https://github.com/johanjerger/btt2
$ cd btt2
$ make compile
$ make install
$ make clean
Enjoy! to begin btt2 run:
$ btt2
I really appreciate the great help of my partners Ulises J. Cornejo and Lucas Di Cunzolo, giving me the idea of making the game, and always proposing some tricky and wonderful updates.