29 lines
394 B
Markdown
29 lines
394 B
Markdown
# go-raytracer
|
|
|
|
A simple raycasting demo written in Go using SDL2.
|
|
|
|
## Requirements
|
|
|
|
- Go 1.24+
|
|
- SDL2 development libraries installed on your system
|
|
|
|
## Run
|
|
|
|
```bash
|
|
go run .
|
|
```
|
|
|
|
Or build the binary with:
|
|
|
|
```bash
|
|
make game
|
|
./game
|
|
```
|
|
|
|
## Controls
|
|
|
|
- Arrow Up / Down: move forward and backward
|
|
- Arrow Left / Right: rotate
|
|
- `m`: toggle minimap
|
|
- `p`: toggle palette debug view
|
|
- `Esc`: quit
|