Show HN: Lean64 – doom64 style FPS on Lean 4

https://github.com/aouxwoux/lean64
by threepts • 8 days ago
2 0 8 days ago

I wanted to see how lean does outside of theorems.

(currently studying ME, professor introduced us to lean4)

Lean handles the game loop, geometry, collision detection, enemy AI, weapons, particles, and HUD. The native side is a roughly 570-line C shim that handles Win32 input and audio, and submits Lean-generated triangles to OpenGL.

The game currently has two maps, a shotgun, and a few secrets.

Related Stories

Loading related stories...

Source preview

github.com