Browse by type
In an effort to teach myself Rust I've decided to follow along with
the excellent youtube playlist reconstructing cavestory.
This project uses rust-sdl2 which binds to SDL2.
This project uses Cargo to fetch dependencies and drive compilation.
Make sure you have a recent version of rustc and cargo.
To build simply run: cargo build from the root of the project.
The project is structured as follows:
-- assets/ (assets linked to in the youtube playlist notes)
-- src/ (.rs files used to build the game)
For the most part this program reads much like it's C++ and C++11 counterparts.
Traits are used instead of extending abstract classes.
interfaces in Go, Java, etc.Pattern matching is leveraged where appropriate
Player::load_sprite()(Movement, Looking, Facing) load_sprite() must
return some sprite.Reference counting is used for safely sharing pointers.
Some areas that could be improved:
$ claude mcp add rust-story \
-- python -m otcore.mcp_server <graph>