
PEGS v1.0 for the TI-86
=======================
Original by Fred Coughlin and Jason Kovacs
TI-86 port by Andreas Finne

A TCPA Game - Visit tcpa.calc.org


INSTALLATION:
============

1) Send pegs.86p to your calculator
2) Run the program using a shell or Asm(pegs and Begin Playing. =)


OBJECTIVE:
=========

In Pegs, you see a screen with several different "pegs" on it.  Your objective is to
clear the pegs from the screen.  To do this, you push the pegs around the screen.  
You must obey the following rules, though:

1)  You can only push pegs.  Pulling them is not allowed.
2)  When you push 2 similar pegs together, they disappear.  The two exceptions to this are
    noted in rules 4-5.
3)  When you push a peg into a hole, the peg is eliminated.
4)  If you push two triangles together, they form a solid, immovable block.
5)  If you push two plus blocks together, you get to choose if it becomes a square, circle,
    triangle, or plus.
6)  If you push a square into a hole, then the hole disappears as well as the square.

There are Ten different levels in this version of the game, and they go from the easiest,
to the hardest to complete. Once you have gotten through every level though, a Bonus Mode
is enabled where when you go through the game again you can press the Plus and Minus keys
to move through the levels quickly, choosing the one you want to play.


PIECES:
======

@@@@@@@@	This is an immovable block, a peg that can't be moved. You cant push any other
@@    @@	pegs into it either.
@ @  @ @
@  @@  @
@  @@  @
@ @  @ @
@@    @@
@@@@@@@@


@@@@@@@@	This is a square peg. When you push it into another square peg, it disappears.
@      @	When you push it into a hole, it fills it up, and both the hole & peg disappear.
@      @
@      @
@      @
@      @
@      @
@@@@@@@@


@		This is a triangle peg.  When you push two triangle pegs together, they become
@@		an immovable block.  This means you must be careful when there are triangles around
@ @		so you don't become trapped.
@  @
@   @
@    @
@     @
@@@@@@@@


  @@@@   	This is a circle (please ignore my lack of artistic skills).  By pushing two circles
 @    @		together, they disappear (yes, this is the NORMAL piece :)
@      @
@      @
@      @
@      @
 @    @
  @@@@


   @@		This is a plus peg.  When you push two plus's together, they become another peg.
   @@		You can press up and down to change the peg, and when you've chosen the correct 
   @@		peg, press enter.  You can choose from a square, circle, square, or another plus.
@@@@@@@@	
@@@@@@@@
   @@
   @@
   @@


@@@@@@@@	This is a hole. Generally, walking into a hole leads to death. If you push a peg
@@@@@@@@	into the hole, the peg disappears. If you push a square in, the hole disappears too.
@@@@@@@@	
@@@@@@@@
@@@@@@@@
@@@@@@@@
@@@@@@@@
@@@@@@@@


  @@@@	This is your main playing peice.  You can move it left, right, up, and down, pushing
   @@		the pegs around the board. Dont let this peice fall down a hole, or you have to start
@ @@@@ @	the current level over.
@@@@@@@@
@@@@@@@@
@ @@@@ @
   @@
  @@@@


CONTROLS: 
========

(During normal gameplay)

Arrows    - Move your pusher around.
CLEAR     - Restart the level.
MORE      - Save and Quit fast.
EXIT      - Quit back to title.

(When selecting a Peg from two Plus Pegs)

UP/DOWN   - Scroll through pegs to choose from.
2ND/ENTER - Select the Peg.

(When in a Pause Sequence, e.g. Displaying Text)

2ND/ENTER - Continue Past Pause.
EXIT	  - Quit back to title.

(After you beat all the levels through once)

PLUS	    - Increase to the next level.
MINUS	    - Decrease to the previous level.


HISTORY:
=======

09/07/00  - version 1.0 for the 86

11/25/99  - version 1.1
	    - 83 size: 2343 bytes, 83+ size: 2348 bytes
	    - SOS and ION (83 and 83+) versions released
	    - title screen added (made by Jason_K)
	    - levels rearranged (from easiest to hardest)
	    - Bonus mode added, for when you beat the game.
	    - optimizations made

08/05/99  - version 1.0
	    - size: 1443 bytes
	    - first public release (for SOS)
	    - can go back a level, restart, or save and quit


Notes from Jason Kovacs:
=======================

11/25/99  - This version is a minor update from version 1.0, with the changes listed above in the
History. This version was created because Pegs v1.0 was implemented in the TCPA's Puzzle Pack
which is an 83+ Flash Application. When changes were made to Pegs within that, the changes were
also made to the SOS and ION versions of the programs, and re-released to the Public. I took part
in releasing this version to the public, but I thank Fred greatly for his original work in the
first version of Pegs. I and the TCPA will continue to make another version of this program with
many more things implemented into it, at a later date...


Notes from Fred Coughlin:
========================

08/05/99  - Although this game is far from finished, I decided to release the first version to see
how well this game will go over. There are many future plans for this game, including external
level support, possibly with an on-calc editor. I apologize for the large size; this is my 
largest game ever, and almost all of the size goes with the level data, with over 550 bytes being
taken up by the data. A better compression routine may be in store, although I am not very good
at compression at all. If anyone knows of any good compression schemes, please e-mail me at
the address below.


Future plans:
============

- External level support (this SHOULD get the actual program under 1,000 bytes)
- A couple of new pegs (ideas are welcome for this, I've already got 1 peg that will be
  implemented at somepoint.)
- Compression - only if a) I figure out a better compression routine, or b) someone writes
  a huffman library for the 83 for compression/decompression)
- Your input is always appreciated


THANKS:
======

Joe W. - as always, for SOS, Libraries, ION, and other programs
Jason Kovacs - The program updates for v1.1
Eric Greening - Beta Testing, Suggestions
Andrew Magness - Beta Testing, Debugging
David Phillips - For making the RLE Routines
and everyone else that I haven't mentioned...

CONTACT:
=======

I'm always willing to listen to new ideas to improve the quality of my work.  If you want to
contact me, please e-mail me at Yoda495@aol.com, or fred_derf@yahoo.com  I will eventually
release my source; however, for this release I am keeping it "under wraps" until I can come
up with the external level capabilities.

You can also contact Jason Kovacs at Jkhum98@aol.com or Jason_K@calc.org, and Andreas Finne
at a_finne@hotmail.com or andreas@calc.org. Remember to visit the TCPA's webpage at
http://tcpa.calc.org/ for future updates of this program, and everything else that we
release for the TI Community.

Thank you very much, and enjoy pegging... =)

