An open API service indexing awesome lists of open source software.

https://github.com/kostaefe/jsgameengine

A basic requirement for a JavaScript "game engine" with a canvas element.
https://github.com/kostaefe/jsgameengine

2d-game-engine canvas canvas-game gameengine2d javascript typescript

Last synced: 4 months ago
JSON representation

A basic requirement for a JavaScript "game engine" with a canvas element.

Awesome Lists containing this project

README

          

# TsGameEngine
A basic requirement for a TypeScript "game engine" with a canvas element.
You can use this basic construct to start writing your own JavaScript game.

# Vite TypeScript Project

A lightweight, modern TypeScript starter template powered by [Vite](https://vite.dev).

## Features
- **Fast Dev Server**: Instant HMR via Vite.
- **Single Bundle**: Compiles everything into `dist/bundle.js`.
- **Type Safety**: Pre-build check with `tsc`.

## 🛠 Quick Start

1. **Install:**
```bash
npm install
```

2. **Develop:**
```bash
npm run dev
```

3. **Build:**
```bash
npm run build
```

## 📁 Structure
- `src/main.ts`: Main entry point.
- `dist/`: Production-ready files (HTML + Bundle).
- `public/`: Static assets.

## 📄 License
MIT