██████╗ ███████╗ █████╗ ████████╗██╗ ██╗██████╗ ██████╗ ████████╗
██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔═══██╗╚══██╔══╝
██║ ██║█████╗ ███████║ ██║ ███████║██████╔╝██║ ██║ ██║
██║ ██║██╔══╝ ██╔══██║ ██║ ██╔══██║██╔══██╗██║ ██║ ██║
██████╔╝███████╗██║ ██║ ██║ ██║ ██║██████╔╝╚██████╔╝ ██║
╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝
███████╗ ██████╗ ██████╗ ██████╗
██╔════╝██╔═████╗██╔═████╗██╔═████╗
███████╗██║██╔██║██║██╔██║██║██╔██║
╚════██║████╔╝██║████╔╝██║████╔╝██║
███████║╚██████╔╝╚██████╔╝╚██████╔╝
╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝
This is a game I made to learn about physics and raycasting. It's written in JavaScript and uses the canvas for rendering.
Run npm install
to install dependencies.
The game is just written in vanilla JavaScript, so there aren't any compilation
steps to run. You can start a local HTTP server by running npm start
, then
open http://127.0.0.1:8080/.
You can lint the code with npm test
. To automatically lint when you make
changes to the code, run npm run watch
.