Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 574f9b0

Browse filesBrowse files
committed
N48: tiny-snake.rs
1 parent bde3ece commit 574f9b0
Copy full SHA for 574f9b0

File tree

Expand file treeCollapse file tree

2 files changed

+21
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+21
-0
lines changed

‎content/news/048/index.md

Copy file name to clipboardExpand all lines: content/news/048/index.md
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,27 @@ If needed, a section can be split into subsections with a "------" delimiter.
6767

6868
## Game Updates
6969

70+
### [tiny-snake.rs]
71+
72+
![tiny-snake.rs running in the terminal](tiny_snake.gif)
73+
74+
[tiny-snake.rs] by [@Rodrigodd] is a terminal snake game, with a minimal binary
75+
size.
76+
77+
The entire game is implemented in a single file of pure Rust code, with zero
78+
dependencies. All interactions with the system are done through raw syscalls (so
79+
it only runs on Linux, sorry) and the program is completely panic-free (panic
80+
handling increases the binary size by almost 4KiB).
81+
82+
The game can be compiled using a single `rustc` command, and the resulting
83+
binary is only 2760 bytes.
84+
85+
_Discussions: [/r/rust]_
86+
87+
[tiny-snake.rs]: https://github.com/Rodrigodd/tiny-snake.rs
88+
[@Rodrigodd]: https://github.com/Rodrigodd
89+
[/r/rust]: https://www.reddit.com/r/rust/comments/15d89s5/tinysnakers_a_tiny_terminal_snake_game_in_just/
90+
7091
## Engine Updates
7192

7293
## Learning Material Updates

‎content/news/048/tiny_snake.gif

Copy file name to clipboard
69 KB
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.