Skip to content

gold-mir/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris JS

A recreation of the classic video game "Tetris", built primarily in JavaScript. This project was completed as a team week exercise to cap off the Intro to Programming course at Epicodus in Seattle, WA.

Installation

This game can be played online, with no additional setup required, at GitHub.io.

To instead setup a local copy on your machine:

  1. Clone this repository.

  2. Within the master folder, navigate to the index.html file and open it in your preferred (modern) browser.

  3. To explore or edit the project code, open the relevant file/s in your preferred text editor. Any saved changes will be reflected when you refresh or reopen the index.html file within your browser.

Gameplay

Tetris is a tile-matching puzzle game in which a series of falling blocks must be manipulated so that they neatly fit together in horizontal rows across the game field.

Once the game begins, pieces will begin spawning one at a time from the top of the screen, and slowly falling towards the bottom. You can use the "left" and "right" arrow keys to move the active piece around, and the "down" arrow to cause the piece to drop faster.

Fill in an entire row, and you'll clear it from the screen! How long can you last before the falling pieces overwhelm you and fill your board?

Built With

  • Atom - Open-source, hackable code editor running on the Electron framework.
  • Visual Studio Code - Code editor developed by Microsoft and based on the Electron framework.

Support and Contact Details

If you encounter any bugs or would like to make suggestions regarding this project, please feel free to open an issue within the repository.

Authors

License

This project is distributed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

Special thanks to:

  • Alexey Pajitnov, original developer of Tetris.
  • John Franti, our instructor and campus director at Epicodus - Seattle.
  • You - for taking an interest in our work!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published