Table of Contents
Dungeon'JS is a browser-based 3D multiplayer game. Built with Three.js and React Three Fiber, the game offers a strategic and engaging dungeon-crawling experience to play with friends.
- Turn-Based Dungeon Exploration: Discover new rooms and strategically plan your movements to maximize your rewards.
- Room Generation: When moving into an undiscovered room, a new dungeon room is generated, possibly hiding treasures, keys, or enemies.
- Dice-Based Combat: Battle enemies by rolling a dice—roll higher than their health points (HP) to defeat them and loot new weapons.
- Treasure Collection: Open locked chests using collected keys to obtain treasures.
- Winning Objective: The game ends when a player defeats the dungeon's most powerful enemy. The player with the most collected treasures wins the game.
The project is built with three-js and React using the react-fiber wrapper. For the multiplayer part, socket.io is used.
This is a quick start guide to install the application locally.
You need Docker on your machine to get Dungeon'JS working.
docker >=20.10.14is required
To install the project on your local machine, you'll need Docker installed. Then follow these steps:
- Clone the repository
git clone git@github.com:Zusoy/dungeonjs.git- Copy the required
.envfile
cp -n .env.dist .env- Build the stack
make build- Start the project
make start| URL | Link |
|---|---|
| http://127.0.0.1:3000 | Client |
| http://127.0.0.1:8080 | Server |
Project Link: https://github.com/Zusoy/dungeonjs