A 3D version of the classic arcade game Pong, written in Typed Racket.
Pong3D.gameplay.video.mp4
- 3D text rendering and a basic 3D font:
lib/on-draw/font.rkt - Syntax patterns for handling struct updates to a struct's parent's fields,
without knowing which child struct is being used:
lib/state/syntax.rkt - Fork of the
pict3dlibrary which includes a new event for when the window size changes, allowing for proper handling of mouse input.
-
This package requires the Racket runtime. Install it at racket-lang.org.
-
Run the
raco pkg installcommand inside the repo. -
Run
raco make -j <thread-count> pong.rktto build from source -
Run
racket pong.rktto run the built game.