Pug Help

I) KeyMapping

"Right" : move block to the right

"Left" : move block to the left

"Down" : move block down

"B" or "Up" :   rotate block to the right

"V" or "Space" : rotate block to the left

"P" : make a pause (press "Enter" to resume game)

"R" : reset game

"Q" : quit game

II) Pug Rules

The purpose of pug is to eliminate blocks which fall from the top of the screen. A block disappears when it contains four cells of the same color. The player can act on cells color by connecting similar cells, ie with the same color.

Two cells with same color from different blocks which connect make a "connection". When similar cells are connected together, the color propagates itself in a straight line (example 1).

Example 1: example1.gif (7369 bytes)

If a connection is realised with a block containing two similar cells in a staright line then the color propagates itself in diagonal towards the farthest block extremity (example 2). A connection always cause a color change. If a connection is realised with a block containing 3 similar cells it disapears.

Example 2: example2.gif (7393 bytes)

A connection can cause a color change in a distant block if the connection is contiguous of a line of similar cells (example 3).

Example 3: example3.gif (9980 bytes)

The linear propagation prevail on diagonal propagation. It is realised first, before other operations like block disappearence (example 4).

Example 4: example5.gif (10270 bytes)

When two connections are realised in a same block and on a same line, propagation is realised in only one direction (example 5).

Example 5: example5.gif (10270 bytes)

The color of the two cells which make a connection don't change (example 6).

Example 6: example6.gif (13366 bytes)