asplunds / tetris

Simple Tetris game made in TypeScript/JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris

Simple zero dependancy Tetris game made in TypeScript/JavaScript using canvas 2d context.

Demo

How to fork

  1. git clone https://github.com/asplunds/tetris.git
  2. cd tetris
  3. npm i
  4. npm run dev

Vite JS will take care of hot module replacement, start hacking and see your changes live in http://localhost:3000!

How to build

Inside the directory

  1. npm run build --base=/your-base-path

Fork with credit!

Browser support

  • Fon't work on touch devices
  • Tested on Firefox, Chrome, Edge and Safari
  • Will not work on IE11

Contributing

Make a fork and submit a PR. From there changes will be reviewed.

Credits

Thanks to the Tetris fandom wiki for prodiving excellent articles on how Tetris works.

About

Simple Tetris game made in TypeScript/JavaScript


Languages

Language:TypeScript 98.0%Language:HTML 1.4%Language:SCSS 0.6%