File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,26 @@ Recent updates:
156
156
[ wor-linux ] : https://www.anthropicstudios.com/2023/08/21/way-of-rhea-linux
157
157
[ wor-backtrace-rs ] : https://github.com/rust-lang/backtrace-rs/pull/553
158
158
159
+ ### [ tiny-snake.rs]
160
+
161
+ ![ tiny-snake.rs running in the terminal] ( tiny_snake.gif )
162
+
163
+ [ tiny-snake.rs] by [ @Rodrigodd ] is a terminal snake game, with a minimal binary
164
+ size.
165
+
166
+ The entire game is implemented in a single file of pure Rust code, with zero
167
+ dependencies. All interactions with the system are done through raw syscalls
168
+ (so it only runs on Linux, sorry) and the program is completely panic-free
169
+ (panic handling increases the binary size by almost 4KiB).
170
+
171
+ The game can be compiled using a single ` rustc ` command, and the resulting
172
+ binary is only 2760 bytes.
173
+
174
+ _ Discussions: [ /r/rust] ( https://reddit.com/r/rust/comments/15d89s5/tinysnakers ) _
175
+
176
+ [ tiny-snake.rs ] : https://github.com/Rodrigodd/tiny-snake.rs
177
+ [ @Rodrigodd ] : https://github.com/Rodrigodd
178
+
159
179
## Engine Updates
160
180
161
181
## Learning Material Updates
You can’t perform that action at this time.
0 commit comments