Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/biud436/minigame-ts
🌏 Web-based online shooting game [2D]
https://github.com/biud436/minigame-ts
game-development html5-canvas nestjs typescript
Last synced: 29 days ago
JSON representation
🌏 Web-based online shooting game [2D]
- Host: GitHub
- URL: https://github.com/biud436/minigame-ts
- Owner: biud436
- Created: 2023-01-22T11:46:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T02:47:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T12:54:18.002Z (3 months ago)
- Topics: game-development, html5-canvas, nestjs, typescript
- Language: TypeScript
- Homepage:
- Size: 902 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://yarnpkg.com/) installed and then run the following commands in your terminal:
```sh
yarn install
```# How to run
## Client
next you can run the following command to start the development server:
```sh
yarn workspace client dev# or
cd client
yarn dev
```### Build
```sh
yarn workspace client build# or
cd client
yarn build
```## Server
```sh
yarn workspace server start:dev# or
cd server
yarn start:dev
```