https://github.com/peterhellberg/w4-1bit-paint
https://assets.c7.se/games/w4-1bit-paint/
https://github.com/peterhellberg/w4-1bit-paint
Last synced: 8 months ago
JSON representation
https://assets.c7.se/games/w4-1bit-paint/
- Host: GitHub
- URL: https://github.com/peterhellberg/w4-1bit-paint
- Owner: peterhellberg
- Created: 2024-07-06T16:17:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-06T16:30:23.000Z (over 1 year ago)
- Last Synced: 2025-03-04T01:49:46.503Z (12 months ago)
- Language: Zig
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# w4-1bit-paint :paintbrush:
A pretty minimal paint program written in [Zig](https://ziglang.org/),
compiled into a `.wasm` cart for use in the
fantasy console [WASM-4](https://wasm4.org/).
:video_game: [Play](https://assets.c7.se/games/w4-1bit-paint/) or :package: [Download](https://assets.c7.se/games/w4-1bit-paint/w4-1bit-paint.zip)
## Usage
| Key | |
|-----------:|---------------------------------------------|
| **Z** | Clear white
| **X** | Clear black
| **M1** | Color
| **M2** | Toggle
| **M3** | Toggle all
| **Arrows** | Switch “color” that is drawn with M1
## Development
File watcher can be started by calling:
```sh
zig build spy
```
Running the cart in WASM-4:
```sh
zig build run
```
Deploy:
```
make deploy
```