An open API service indexing awesome lists of open source software.

https://github.com/msaifulhuda/gotetris

GoTetris is a Tetris game implemented in TypeScript. This project is a fun way to learn TypeScript while building a classic game.
https://github.com/msaifulhuda/gotetris

game tetris typescript website

Last synced: about 2 months ago
JSON representation

GoTetris is a Tetris game implemented in TypeScript. This project is a fun way to learn TypeScript while building a classic game.

Awesome Lists containing this project

README

          

# GoTetris

GoTetris is a Tetris game implemented in TypeScript. This project is a fun way to learn TypeScript while building a classic game.

## Features

- Classic Tetris gameplay
- Simple and intuitive controls
- Score tracking
- Pause and resume functionality

## Installation

To install and run GoTetris, follow these steps:

1. Clone the repository:
```sh
git clone https://github.com/msaifulhuda/gotetris.git
```
2. Navigate to the project directory:
```sh
cd gotetris
```
3. Install the dependencies:
```sh
npm install
```
4. Build the project:
```sh
npm run build
```
5. Run the game:
```sh
npm start
```

## Usage

- Use the arrow keys to move the Tetriminos.
- Press the spacebar to drop the Tetrimino.
- Press 'P' to pause or resume the game.

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

## Acknowledgements

- Inspired by the classic Tetris game.
- Built with TypeScript programming language.