/Tetris

This repository contains the Tetris browser game

Primary LanguageJavaScript

Tetris

This repository contains the Tetris browser game

Technology stack used:

JavaScript, CSS, HTML

Rationale for the project decision:

The game is written in JavaScript. For writing programs in OOP style in this language uses modules. It is done so that browsers can optimize the loading of modules, which in turn is much more efficient than using libraries. It will allow you to take over the client-side processing and do the rest costly operations.

Description of project implementation:

The game is implemented in an object-oriented style on modules. Each module contains a class that describes a separate process, creation of the game, its display, class-controller, which controls the whole process. The creation and main mechanics of the game is implemented in the game, which contains the main one information about starting the game, creates a playing field, figures, controls their movement. The View class is responsible for displaying the game, for its rendering and rendering. And finally, the Controller class is responsible for the operation and interaction of classes between by myself

Screenshots

image image image