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.
- Host: GitHub
- URL: https://github.com/kostaefe/jsgameengine
- Owner: Kostaefe
- License: mit
- Created: 2024-10-14T19:48:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-01T20:07:36.000Z (4 months ago)
- Last Synced: 2026-03-01T21:56:46.628Z (4 months ago)
- Topics: 2d-game-engine, canvas, canvas-game, gameengine2d, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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