https://github.com/zesterer/bitwise-examples
Example games that persist just 8 bytes of state between frames
https://github.com/zesterer/bitwise-examples
Last synced: 9 months ago
JSON representation
Example games that persist just 8 bytes of state between frames
- Host: GitHub
- URL: https://github.com/zesterer/bitwise-examples
- Owner: zesterer
- Created: 2022-05-11T15:23:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T15:24:26.000Z (over 3 years ago)
- Last Synced: 2025-04-11T16:24:27.461Z (9 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [The Bitwise Challenge: Examples](https://github.com/zesterer/the-bitwise-challenge)
Included in this repository are examples of games that use just 8 bytes of memory to store state between frames.
## Bitwise Snake
```
cargo run --example snake
```
This very shoddy implementation of the infamous Snake contains all of the basic elements: movement, foot to eat, a growing body, and the ability to collide with your own tail.