Simple, realtime multiplayer IO game.
- realtime multiplayer
- random, realistic world map generation (Stone, Grass, Sand, Shore, Ocean, Trees, Leaves)
- finite tilemap w/ world wrap (seamlessly transition between tilemap borders)
- 8 direction movement/facing
- punching/killing/respawning
- leaderboard for kill counts
- terrain affects player max speed (Grass is fastest, Ocean is slowest)
- directional facing affects player max speed (side-stepping or backwards movement is slower than forwards movement)
- Make
- NodeJS/NPM
- Docker
On a fresh git clone run make install
to get up and running quickly!
Run make dev
and with your favourite browser coughchromecough
visit localhost:8080
!
This project was lab 6 for Purdue's CS252, Systems Programming.
Web Framework: Node/Express
Realtime Data: Socket.io
Database: Sqlite3
I tried my best heavily commenting the codebase, so good luck!
Run make init_db
to delete the current database and auto-generate a fresh one.