This is my participation to the Roguelike Tutorial of /r/roguelikedev of summer 2018. I chose to follow along using Rust as programming language, and utilizing the tcod-rs library.
Every part of the tutorial is a separate workspace member. You can run each part with cargo run -p part_[X]
(where X is the part number, obviously). I try to add a documentation for each part to describe what I have done, and why I did it in that specific way.
- Part 1: Drawing the
@
symbol and moving it around - Part 2: The generic Entity, the render functions, and the map
- Part 3: Generating a dungeon
- Part 4: Field of View
- Part 5: Placing Enemies and kicking them (harmlessly)
- Part 6: Doing (and taking) some damage
- Part 7: Creating the interface
- Part 8: Items and Inventory
- Part 9: Ranged Scrolls and Targeting
- Part 10: Saving and Loading
- Part 11: Leveling Up
- Part 12: Monster and Item Progression
- Part 13: Adventure gear
Feel free to comment any piece of code you see. I appreciate any kind of feedback here, especially if it helps to get a better understanding of Rust itself.
This tutorial is finished. It may have some bugs, feel free to report them, and I will probably fix them. But I probably won't continue development of this game any further