This is a game made to demonstrate the capabilities of my language.
npm install
: to install postfix-haskell compiler and other dependenciesnpm run build
: compile the project to webassemblynpm start
: start a server which you can use to play the gamenpm run optimize
: use binaryen’s optimizer to optimize some things my compiler still doesn’t handle
npm i wasm-opt -g
A live demo is available here: https://dvtate.github.io/phlappy-bird/public/