⭐ Please consider giving us a star to support the project! ⭐
BoredGames is a web platform for creators to host their games and for players to enjoy playing web-based games. Games that run in browser can be played on any device without any installation. Platform API provides backend logic for scoring and multiplayer gaming.
BoredGames offers tools for your game:
- WebGL/Wasm/JS: upload a game draft which is then reviewed and hosted for free
- Scoring: tracks gameplay scores
- Multiplayer: play with other people on the network
- Anonymous: play without registration by using ephemeral session
- Registered: crete account to keep your scores and library of your favourite games
- Cross Platform: runs in any browser natively
- Screen Size: supports different screen resolutions
Important
Please ensure you have Docker and Docker Compose installed on your system. If not, you can download them from the official Docker website: Docker.
-
Clone the Repository:
git clone git@github.com:vlado-github/BoredGames.git
-
Navigate to the Root Directory (BoredGames):
cd BoredGames -
Start the Docker Containers:
docker compose --env-file .env.local up --scale gameserver-silo=3 -d --force-recreate
-
Open API documentation:
Open your browser and navigate to http://localhost:5008/index.html
Important
Please ensure you have .NET SDK 8 installed on your system. If not, you can download them from the official Microsoft website: .NET.
Server side contains two parts:
- BoredGames.Server.GameServer: a backend server for handling queueing, players actions, game logic and game state.
- BoredGames.API: a REST API for clients to interact with the game server.
- Run shell or cmd
- Position to source folder of solution (BoredGames/BoredGames.Server)
- Execute command:
dotnet build
- Run shell or cmd
- Position to source folder of solution (BoredGames/BoredGames.Server)
- Execute command:
dotnet run --project BoredGames.Server.GameServer --launch-profile local - Execute command:
dotnet run --project BoredGames.API --launch-profile local - Open swagger documentation in browser via url https://localhost:7075/index.html
Important
Please ensure you have NodeJS and NPM installed on your system. If not, you can download them from the official NodeJS website: NodeJS.
- Run shell or cmd
- Position to source folder of project (BoredGames/BoredGames.Client/BoredGames.Portal)
- Execute command:
npm install
- Run shell or cmd
- Position to source folder of project (BoredGames/BoredGames.Client/BoredGames.Portal)
- Execute command:
npm run dev

