Skip to content

pingumen96/tetrisclone

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

This Tetris clone has been realized by Jorge Matas & Sinhuè Angelo Rossi using C# and Unity3D.

This implementation aims to be clean and CPU-friendly, so raycasts and physical elements are not being used. Geometrical transformations and a matrix of ints are instead used to manage the game grid.

The most interesting part is the grid management because it happens on two levels:

  • the graphical one (pieces positions, transformations, etc.);
  • the "actual" one (ints matrix that specifies the presence or not of a cube on each position).

There's also a trivial user interface that doesn't respect the best usability rules for sure even if it does what it is meant to do. It is there because allowed us to learn about UI on Unity3D, and we're sure that in a future project there will be more attention on it.

If you want to play, you can download the latest release or simply run the online WebGL version.