Hp Tetris
A Tetris clone for the HP Prime graphing calculator
Overview
A Tetris clone for the HP Prime graphing calculator, written in HP BASIC.
Built by improving Kevin Barbier's "BRICKS" game.
Getting the Game
To install, connect the calculator to your computer using the HP Prime
Connectivity Kit (http://www.hp-prime.de/en/category/15-software). Create a program named "BLOCKS" on the device and paste the code. Access
it via the calculator's Program menu (Shift + 1).
Get the code here:
https://github.com/rmboyce/hp-tetris
Controls
- "Vars" and the toolbox key to move left/right
- "SIN" to drop the current piece
- "Enter" to hard drop the piece
- The delete key to rotate the piece
- "xy" (power key) to hold a piece (once per turn)
- "Apps" to pause
- "Esc" to quit
- "Help" for help
- "View" to choose custom keys
- "Menu" to set keys to default
- "CAS" to reset the game
Changelog
- Added a grid in the back
-
Changed the colors of the pieces to match the standard Tetris color scheme
-
Changed the way the program picks the next piece to make it feel more random
(for example, made the chance of getting the same piece twice in a row much
lower)
-
Added the Tetris Super Rotation System (SRS, which makes the pieces rotate
intuitively)
- Added the hold function to store a piece