Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes
Accepted

Recreated Snake in Rust

Clippy One of the most important tools when writing good rust code is clippy. I recommend to configure your editor to run clippy on-the fly. It has very nice messages and includes an explanation for ...
corvus_192's user avatar
4 votes
Accepted

Terminal based game: Part 3 (Using templated game)

Just make a runGame() function You want to avoid classes, but you are still introducing one here: a GameTemplate object is ...
G. Sliepen's user avatar
3 votes
Accepted

Terminal Base Snake

Missing #includes The code you posted doesn't compile without adding additional #include statements, for example ...
G. Sliepen's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible