Skip to content

A tile-matching puzzle video game, originally designed and programmed by Russian game designer Alexey Pajitnov

License

Notifications You must be signed in to change notification settings

rijkvanzanten/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

The famous game of blocks

This was just a little fun side project to kill some time, nothing serious. I don't plan on iterating a lot on this. Feel free to use it as inspiration or starting point for you own version.

TODO

  • Show score / stats next to play window
  • Add start / pause / reset buttons
  • Add coat of paint (CSS)
  • Tweak color palette

Since this is just a hobby project with no stakeholders or anything, we can do anything:

  • Add unlockables? Maybe fun to be able to unlock colorpalettes or something
  • Tetrimino maker? Since the pieces is just a simple matrix in pieces.js, they could have any shape. Create your own tetris?
  • Have a good idea? Let me know!

Credits

Loosely based on @jonhoo's Tetris Tutorial. Uses Colin Fahey's research on Tetris as a source of the various equations (like calculating current level, score, and random piece).

Installation

This little game doesn't use any dependencies and runs straight in the browser.

Usage

Serve this folder with any static file server and open index.html in the browser.

License

The MIT License (MIT)

Copyright (c) 2018 Rijk van Zanten

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A tile-matching puzzle video game, originally designed and programmed by Russian game designer Alexey Pajitnov

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published