Tetris clone made with TypeScript
Go to file
2023-08-06 21:34:18 -04:00
.vscode add readme and license 2023-08-02 14:20:48 -04:00
src UI tweaks; add control info 2023-08-06 21:34:18 -04:00
.eslintrc.json init 2023-07-28 14:01:50 -04:00
.gitignore init 2023-07-28 14:01:50 -04:00
.prettierrc.json init 2023-07-28 14:01:50 -04:00
LICENSE add readme and license 2023-08-02 14:20:48 -04:00
package-lock.json add readme and license 2023-08-02 14:20:48 -04:00
package.json add readme and license 2023-08-02 14:20:48 -04:00
README.md add readme and license 2023-08-02 14:20:48 -04:00
screenshot.png add readme and license 2023-08-02 14:20:48 -04:00
tetris_mockup.xcf init 2023-07-28 14:01:50 -04:00
tsconfig.json add readme and license 2023-08-02 14:20:48 -04:00
webpack.config.js init 2023-07-28 14:01:50 -04:00

Froobtris

A Tetris clone written in TypeScript, targeted at web browsers.

A demo of this can be found at alexanderbass.com

Building

npm must be installed.

Froobtris does not have any runtime dependencies however, TypeScript and Webpack are required as dev-dependencies.

To install dependencies:

npm i

To build:

npm run build

The built project will then be available in the dist directory.

Alternatively, npm run watch will automatically rebuild whenever the source files are changed.

If you want to study the code, index.ts is the entrypoint.