|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
web/ is the game's website, a Laravel app. It ranks the players by experience, and you can create an account on it, log in and log out. It reads and writes the same MySQL tables as the servers, so an account made on the website logs into the game, and the other way round. It hashes passwords with Argon2id, with the login server's settings, in web/config/hashing.php, so each reads the other's hashes. It keeps its sessions in Redis.
It runs in Docker, on FrankenPHP, a web server with PHP built in. This builds it and starts it.
Then open http://localhost:8080. Pico CSS, from a CDN, styles the plain HTML, so there's no CSS of our own, and nothing to build with npm.
The website's tests, and Pint, Laravel's formatter, which fails on code it would change, run in Docker.