Roguelike Advent of Code 2020
Roguelike Advent of Code 2020 was a project I’ve took in order to get more familiar with C programming. Not using simple short hello-world-like programs, but fully-scoped multi-file project. I’ve followed the online video roguelike tutorial, creating in total 26 lessons-related posts, and one additional one covering improvements and changes to the original code base. Below You can find the whole list of posts. All the code is available on GitHub. PRs, comments, stars and forks are appreciated.
- Introductory post
- Second lesson – moving user around.
- Third lesson – walls aren’t transparent and a lot of additional changes.
- Fourth and Fifth lesson – creating structures for representing position on the screen.
-
- Sixth lesson – a lot of changes concerning door creation and new data structures associated with it.
- Seventh and Eight lesson
- Ninth lesson – a lot of additional work with CMake and CLion.
- Tenth lesson – fixes to connection algorithm.
- Eleventh lesson – level setup.
- Twelfth lesson – monsters are coming to town.
- Thirteenth lesson – monsters are starting to move and search for the player.
-
- Fourteenth lesson – monsters are starting to move randomly.
- Fifteenth lesson – we fight!
- Sixteenth lesson – addition on the HUB.
- Seventeenth lesson – random room generation.
- Eighteen lesson – no code there.
- Nineteenth lesson – explaining the A-star path finding algorithm.
- Twentieth lesson – implementation of that algorithm.
- Twenty first – implementation of door connecting algorithm.
-
- Twenty second lesson – fixes and tweaks in door connecting algorithm.
- Twenty third lesson – menu creation.
- Twenty fourth lesson – improvement of level printing on the screen.
- Twenty fifth lesson – huge cleanup of code and addition of header files.
- Twenty sixth lesson – introduction of the inventory.
- Closing article about AoC. There are numerous upgrades, refactors, etc.