usasnouski / Tetris

A classic browser game built with vanilla JavaScript and Canvas.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris

Background

Tetris is a tile-matching puzzle video game that involves falling pieces called "tetriminos". A random sequence of "tetriminos" fall down the game the playing "well". The main objective of the game is to manipulate falling blocks, by moving them sideways and rotating them by 90 degrees and create a horizontal line of ten units without gaps. When such a line is created, it disappears, and any block above the deleted line will fall.

###MVP

This Tetris game will include following

  • Ability to manipulate falling "tetriminos"
  • Rows are cleared up as they get filled up
  • New Game, Stop Game
  • A production README

Architecture and Technologies

  • Javascript will be used for game logic and handling user input.
  • HTML5 Canvas for rendering the game on the screen
  • Webpack to bundle and load js files.

Implementation timeline

Day 1-2 Setup project with all necessary bundles and modules. Write game logic.

Day 3-4 Style game using CSS and Canvas, experiment with different colors. Make the game look something original.

About

A classic browser game built with vanilla JavaScript and Canvas.


Languages

Language:JavaScript 46.5%Language:CSS 36.3%Language:HTML 17.3%