minigame-ts

🌏 Web-based online shooting game [2D]

Stars
1

Introduction

This is a simple game engine written in TypeScript.

Structure

App (Main Entry Point) -> Finite State Machine -> Render Clear -> Update States -> Update Game Objects -> Render States -> Render Game Objects

Setup

before you start, make sure you have yarn installed and then run the following commands in your terminal:

yarn install

How to run

Client

next you can run the following command to start the development server:

yarn workspace client dev

# or

cd client
yarn dev

Build

yarn workspace client build

# or

cd client
yarn build

Server

yarn workspace server start:dev

# or
cd server
yarn start:dev