Show HN: A robot that plays the Simon game
github.comThis is neat OP.
Looking through the code and blown away by how small and clean it all is. Is everything really just abstracted away by those two imported crates?
Also a tad offtopic but what is with the rustfmt::skip attributes? Those constants look legit? Guess I should just clone the repo and find out.
Thanks! The two imported crates provide the interface to the hardware (servos and sensors), so they don't add much abstraction. Most abstraction is in `robot.rs`, so that `main.rs` is clean and high-level.
Without `rustfmt::skip`, rustfmt would break these sections into more lines but I prefer them to look like little tables.