- Clone the repository to your local machine:
git clone https://github.com/huynq-fouj/multiplayer-game
cd multiplayer-game
- Install the necessary dependencies:
npm install
- Start the server:
npm run dev
- Open your browser and navigate to http://localhost:8080.
- Use the arrow keys (a, s, d, w) to move your player.
- Click anywhere on the canvas to shoot a projectile in that direction.