Name:     Insane Game
Author:   Bill Nagel
Version:  1.0
Machine:  TI-83
First public release:  March 26, 1997 at The TI-83/86 Game and Assembly Page
Description:  TI-83 Version of Insane Game.  Made in assembly!
Original TI-85 Insane Game By:  Martin Hock

Setup:
Send insane.83g to TI-83.
Never run ZINSANE. It contains the object code.

Here is how Martin Hock explains how to play:
***********************************************************************

The object of Insane Game is to get rid of all the tiles.  In real life, you
could just dump the tiles into a garbage can and that would be the end of it,
but that would get boring after a while.  In Insane Game, you must eliminate
tiles by choosing groups of at least 2 or more touching tiles that are the
same type.  Hence the original name SameGame.  Here's an example:

12325
25555
12331

There are 2 eliminatable groups here.  Firstly, there is the gigantic group of
5s.  Secondly, there's the two 3s near the bottom that are hard to notice.

Ah, but this game would be pretty simple if all you did was choose the
existing groups of tiles.  It would be too obvious.  SO, we add the extra
factor of Gravity to the mix.  The pieces first want to fall downward.  If a
column is totally devoid of pieces after their initial descent, the pieces
will shift sideways to the left to eliminate it.  Let's see what would happen
if you got rid of those 5s:

1232           1
2        ->    2232
12331          12331

And look!  A new group of 2s has appeared out of nowhere!  Furthermore, the
existing group of 3s expanded to include another.  If you eliminated the 3s:

1              1              1
22 2     ->    22        ->   22 
12  1          12 21          1221

Note how first, the 2 fell, and then, the newly-empty column was eliminated
when everything else shifted to the left.

You can't always eliminate all the pieces.  In fact, you usually can't.
However, most of the time you can eliminate almost all of the pieces.  Just
think ahead and look for patterns.  And a surprising amount of the time, you
CAN eliminate all of the pieces.  Work from the top-right down, then to the
left.  Here, if we get rid of the 2s, and finally the 1s, we just got rid of
something that was seemingly pretty impossible!  Although the "official"
object is to get rid of every tile, in order to get the most points, it is
better to eliminate large groups of tiles and leave some remaining than to
eliminate small groups of tiles and get rid of all of them.

Scoring: The score increases exponentially depending on the number of pieces
eliminated.  Basically, the score is calculated using the algorithm: (x-1)^2,
where x is the number of pieces eliminated at once.  Here is a brief chart:
# Eliminated   Score
2              1
3              4
4              9
5              16
6              25
7              36
8              49
9              64
10             81
11             100
and so on.  If you win, points are QUADRUPLED!  Go for it!  However, the key
to the top score is not to win so much as to blast large pockets of pieces.

Different Game Modes:     (Note that each mode has its own top score)

Puzzle Mode: The original SameGame.  Eliminate as many tiles in large groups
as you can from a single screen.  When you run out of moves, the game is over.

Action Mode: The screen is halfway filled with tiles.  Every so often, a new
tile appears.  The object is to last as long as you can before the screen
overflows!  YOU CAN'T WIN!  Mu hu ha ha! Note that pressing buttons hastens
tile appearances, so if you're trying to think, don't press any buttons!
Pressing More to pause becomes much more important in this game.  As the
time goes by, the pieces appear more and more frequently until your brain
explodes.

**********************************************************************

At the title screen, use up/down to change game mode.
During game play, arrows move the cursor.
2nd is used to remove blocks.
At the new high score screen, use up/down to select a letter and press enter.
Press mode during game play to pause.
Press mode and del during game play to exit.

You can add Insane Game to your page under the following condition,
Your page must have a link to:
http://www.geocities.com/TimesSquare/Arcade/8680/ti.html

Don't forget to visit the home of TI-83 Assembly!:
http://www.geocities.com/TimesSquare/Arcade/8680/ti.html
For the latest assembly games and programs!

DO NOT SEPARATE THIS DOCUMENT FROM INSANE GAME!

Copyright (C) 1997 Bill Nagel