https://github.com/bobbylight/tetrisjs
Tetris written in Typescript
https://github.com/bobbylight/tetrisjs
Last synced: 11 months ago
JSON representation
Tetris written in Typescript
- Host: GitHub
- URL: https://github.com/bobbylight/tetrisjs
- Owner: bobbylight
- Created: 2024-11-01T16:58:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-08T02:41:09.000Z (12 months ago)
- Last Synced: 2025-07-08T04:44:35.128Z (12 months ago)
- Language: TypeScript
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TetrisJS


A Tetris clone in TypeScript (not JS! :) ). This is a straight port
of a Tetris game I wrote in Java AWT as a kid. I ported it to TS and
hope to make it more robust one day.
## Hacking
The game is built with `vite`. To test and build locally:
```
git clone https://github.com/bobbylight/TetrisJS.git
cd TetrisJS
npm install
npm run dev # Start dev server at loclahost:5173, hot deploy changes
npm run build # Production build into dist/
npm run preview # Test the production build at localhost:4173
```