TheSisb / warbird

An action MOG starter for the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warbird

Description

This is an example project of how one might set up an action MOG using Colyseus for networking, p2.js for physics, and three.js for rendering.

Setup

yarn                              # Install project dependencies
yarn dev                          # Docker Compose development workflow
yarn dev:server & yarn dev:client # Host development workflow

Overview

The project is a Lerna monorepo broken up into four major packages: ecs, core, server, and client.

The @warbird/ecs package contains tools to help organize server-side game logic using the using the Entity-Component System (ECS) pattern.

The @warbird/core package contains game entities, components, and systems. In addition, core houses shared helpers and networking protocols used by both server and client packages.

The @warbird/server package houses the game server that contains a single room used in each arena. Currently, the server does not scale and is limited to a single room.

The @warbird/client package houses a web client for the game. The game is rendered using three.js and the UI is built with React.

About

An action MOG starter for the web


Languages

Language:TypeScript 90.6%Language:Dockerfile 4.1%Language:HTML 2.2%Language:JavaScript 1.6%Language:Shell 1.5%