Ymaril / Tetris.ts

A simple Tetris game written in TypeScript using SVG

Home Page:https://ymaril.github.io/Tetris.ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris.ts

A simple Tetris game written in TypeScript with using SVG.

Keys

  • Spacebar : Start game.
  • Up Arrow : Rotate left.
  • Left Arrow : Move shape left.
  • Right Arrow : Move shape right.
  • Down Arrow : Lower shape.
  • Enter : Drop shape.

Demo

Play here!

Screenshots

1 2 3

Development

To run webserver with watch code changes:

npm install
npm run start

Then go to http://localhost:9000/

About

A simple Tetris game written in TypeScript using SVG

https://ymaril.github.io/Tetris.ts


Languages

Language:TypeScript 98.1%Language:JavaScript 1.9%