Snake in C+ for WebAssembly
This is a primitive snake in C++ish to test WebAssembly
You'll need emscripten to compile the program
emcc web.cc snake.cc base.cc -s USE_SDL=2 -s ASSERTIONS=1 -O3 -o index.html
You'll then need a http server to view the result, you can use python3 -m http.server
.