Now that we’ve defined some basic structure for the project along with what libraries will be used, Let’s try achieve something simple.
On the client let’s try have a simple tile map rendered using ggez using pure deterministic code.
️📝 Documentation
When writing the game’s codebase in all three crates client, server and common, I believe it is incredibly important to document everything as per rust documentation, thus when coming back from a hiatus or whenever the project has developed to the point where prior code is forgotten, it can be easily relearned.
Rust has a niftly little feature that enforces a standard of documentation throughout the crates.
#![deny(missing_docs)]
This will deny us to compile our crate if anything is missing documentation, Great!