# TetrisJS **Repository Path**: mirrors_bobbylight/TetrisJS ## Basic Information - **Project Name**: TetrisJS - **Description**: Tetris written in Typescript - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-03 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TetrisJS ![Build](https://github.com/bobbylight/TetrisJS/actions/workflows/build.yml/badge.svg) ![CodeQL](https://github.com/bobbylight/TetrisJS/actions/workflows/codeql-analysis.yml/badge.svg) [![codecov](https://codecov.io/gh/bobbylight/TetrisJS/graph/badge.svg?token=JM730WJ7SJ)](https://codecov.io/gh/bobbylight/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 ```