VFG = Vince's Favorite Game
Update: I found out later from Vince that the game is called "Pentris", "as in the next order of Polyomino after tetris.".
This puzzle game is a port, mod, and code-refactoring of Vince's QBJS program.
Although designed to work with a physical keyboard, it should also work on touch-screen devices (I've only tested with the mouse on my laptop.)
Like all exported BAM programs shared with "Run the program" links, you can save the HTML page locally to run the program in your browser when off-line ! (It is a single-HTML-page browser application with no dependencies on anything!)
Game controls
Left and Right keys on the keyboard or L and R buttons on the screen
These move the dropping puzzle pieces to the left and to the right.
Up key on the keyboard or U button on the screen
This rotates the dropping puzzle piece counter-clockwise (as long as there is room on the left/right side of the puzzle piece (i.e. not obstructed by the left/right side of the screen or by another puzzle piece.
Space key on the keyboard or S button on the screen
This immediately drops the puzzle piece to the lowest position it can validly go.
P key on the keyboard or click/touch the puzzle area
This pauses the game until a key is pressed or a button is touched/clicked.
No comments:
Post a Comment