.vscode | ||
src | ||
.eslintrc.json | ||
.gitignore | ||
.prettierrc.json | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
screenshot.png | ||
tsconfig.json | ||
webpack.config.js |
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.