*************************************************
*********** HP Prime Tetravex v1.0 **************
*********** Author: SchlongDongGooey ************
*************************************************

------------- Installation ----------------------
1. Download and install HP Connectivity Kit
2. Connect HP Prime calculator via USB
3. Drag and drop the Tetravex.hpappdir folder
	to the Application Library for your device
4. The app should now show in the app list.
	You may need to click clear to start.
5. It is recommened that you backup your 
	HP Prime in case the app crashes the OS.
	If this happens previously deleted apps 
	may reappear. [Mem]->Backups

------------- How to Play -----------------------
The goal is to place the tiles on the right in 
the numbered slots on the left while having the 
numbers on adjacent tiles match.  Every game 
generated is beatable.

-------------- Controls -------------------------
Keyboard:
 New Game:	 [Symb]		 Start a new game
 Quit:		 [Esc]		 Quit the app
 Up:		 [DPad Up]	 Select next tile in column
 Down:		 [DPad Down] Select next tile in column
 Left:		 [DPad Left] Select next tile
 Right:		 [DPad Right]Select next tile
 Place Tile: [1-9]		 Place tile in numbered slot
 Remove Tile:[Del]		 Remove tile from board
 Clear Msg:	 [Vars]		 Clears msg in bottom right
 Debug Mode: [Mem]		 Cycle debug mode
					0: Off
					1: Python Free RAM
					2: s1: Data for 1st row
					3: s2: Data for 2nd row
					4: s3: Data for 3rd row
					5: Selected Tile Data (Hint)
					6: Mouse coordinates
					7: Key pressed ID
Mouse/Touch:
 Click a tile to select the tile
 Click a numbered slot to try to place tile
 Click off numbered slots to remove tile

-------------- Known Issues ---------------------
1. Draging the mouse across the screen may lead to
	the next mouse input being dropped.
2. Too much screen tearing

-------------- Dev Notes ------------------------
This is the first app I've written for HP Prime
This is a port of a half finished version of 
	Tetravex written in HTML5 and javascript.
Initial logic was meant to handle multiples sizes
	,but the HP Prime screen is best suited for 3x3
Code is less organized than desired due to the 
	previous notes.
Python libs for HP Prime lack documention outside
	base micropython libs
Timer functionality was replaced with a score system
	because calls to TICK would eventualy crash the
	OS. Will need utime lib available to have an
	accurate timer in python.
Use of hpprime.eval calls are minimized to reduce 
	the chance of the OS crashing.
Every seed is beatable because of the vert system.
	The system generates random numbers to fill the
	verts array.  Then math is used to grab the 
	correct number in the vert array for the given
	tile location.

-------------- Next Version Ideas ---------------
Minor:
 Add high score system
 Replace score with timer if utime becomes available
 Add win screen animation.  Maybe like solitare on
	Windows 3.1.
 Add an options menu to do the following:
	Customize colors and symbols
	Clear high scores
	Remap controls
Major:
 Rework render system to have a screen buffer and 
	vsync to get rid of tearing.
 Allow tiles off playboard to be placed anywhere.
 Add ability to drag a tile anywhere on screen.

-------------- Next Application Ideas -----------
Picross Clone
JezzBall Clone
Chip's Challenge Clone
Something Original

-------------- Credits --------------------------
Programming: SchlongDongGooey
Testing: 	 SchlongDongGooey
This is a clone from memory of the version of 
Tetravex from Windows Entertainment Pack 3 by
Scott Ferguson.

Thanks,
 - Number one super guy, SchlongDongGooey