Devet rules

       Devet has very simple rules, you can start play in just one minute. The goal of the game is to place as much as possible elements to the gaming board, which is a quad-grid 5x5 (but may vary). Elements are 2, 3 and 4 sided squares in all variations - 11 type of elements.
       The game starts with the maximal element (with four sides) already placed in the center of the board. Every next element, can be put on the field, only if at least one side of it can touch a side of an existing one.
       If the side(s) of just-placed element, touches the board's border, the set of the connected elements scrolls in the opposite direction, or directions, if the element touches two borders. When this scrolling occurs, extra elements are deleted from the element set.
       The player randomly choose the element, which must be placed, and the element which will be the next. In computer realization, these elements are randomly generated by the machine. Every successfully placed element is counted.
       The game ends, when the current element can't be matched nowhere in the field.

   Examples :
   Matching :

   Scrolling and removing :