1
0
Fork 0
No description
Find a file
2026-04-03 16:57:00 +02:00
graphics draw using color palette rather than RGB directly. 2025-06-25 22:15:26 +02:00
math Initial commit 2025-06-08 15:51:07 +02:00
render Adding render/palette.go 2025-06-25 22:15:36 +02:00
world Initial commit 2025-06-08 15:51:07 +02:00
.gitignore Initial commit 2025-06-08 15:51:07 +02:00
go.mod Initial commit 2025-06-08 15:51:07 +02:00
go.sum Initial commit 2025-06-08 15:51:07 +02:00
main.go add debug mode for drawing either minimap or palette 2025-06-25 22:25:43 +02:00
makefile Initial commit 2025-06-08 15:51:07 +02:00
player.go Initial commit 2025-06-08 15:51:07 +02:00
README.md Add README.md 2026-04-03 16:57:00 +02:00

go-raytracer

A simple raycasting demo written in Go using SDL2.

Requirements

  • Go 1.24+
  • SDL2 development libraries installed on your system

Run

go run .

Or build the binary with:

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