Skip to content

diamdesign/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Game

Tetris (Russian: Тетрис[a]) is a puzzle video game created in 1985 by Alexey Pajitnov, a Soviet software engineer.[1] It has been published by several companies for multiple platforms, most prominently during a dispute over the appropriation of the rights in the late 1980s. After a significant period of publication by Nintendo, in 1996 the rights reverted to Pajitnov, who co-founded the Tetris Company with Henk Rogers to manage licensing. - Wikipedia

Tetris Screenshot

Features

  • Classic Tetris gameplay with intuitive fast controls.
  • Multiple levels of increasing difficulty to challenge players.
  • Fast down functionality to drop your tetronome in place.
  • Multiplier score, per each line.
  • Responsive design for playability across different devices, including mobile phones.
  • Sound and color match the stage for an immersive experience.
  • Storing highscore and alias in database.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js installed on your machine
  • npm package manager
  • Vite installed globally

Installation

  1. Clone the repository:
git clone https://github.com/diamdesign/tetris
  1. Navigate to the project directory:
cd .\tetris\game\
  1. Install dependencies:
npm install
  1. Run development server:
npm run dev

Building for Production

To build the project for production, run:

vite build

This will create an optimized build of the game in the dist directory.

Credits

This was a project made during Lexicon React course 2024. The game was made during the first week of two.

Music and sound effects are from Pixabay.com

Created by

Fredrik Berglund

About

Tetris

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors