Code Monkey home page Code Monkey logo

binary-tetris's Introduction

The goal of the project is to develop a tetris game played with binary numbers. General Information This game is played in a 20*13 gaming area placing triple blocks in order to obtain a specific pattern. Game Playing Information At the beginning of the game, a four digit pattern is given by the player. During the game, randomly generated active triple blocks appear at the top of the game area, then starts to fall. Player can move the active block to the left or to the right. When any part of the active block reaches the base blocks, it stops falling. When the active block is stabilized, “pattern searching” operation is executed. This operation is done in four directions (up to down, down to up, left to right, right to left). In pattern searching operation, if we come across the pattern in the game area, this occurence of the pattern blocks disappears and upper blocks fall down. After the falling of upper blocks, pattern searching operation is rechecked. As long as finding the matching pattern, the same procedure is repeated.

Game Extras There are some bonus options related with the game. These options can be on or off separately.

  1. Next triple blocks. During the game, next triple blocks are shown on the right side of the game area.
  2. Complete line. Destruction of „complete zero? or „complete one? lines. Player gains no points.
  3. Fast fall. Active block falls quickly if the player presses the down key.
  4. Rotating. Player can rotate the active block when falling.
  5. Bomb. A one-block bomb (X) appears randomly and destroys 3*3 area when landing. Player gains no points with the bomb.

binary-tetris's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.