File:PLAYPIG.8xp

From ThePlaz.com

Jump to: navigation, search
PLAYPIG.8xp(file size: 583 B, MIME type: unknown/unknown)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

Features

This PRGM is for simulating and playing the Pig game featured in IAG 1.

The Game

On a turn, a player rolls the die repeatedly until either:

  • A 1 is rolled
  • The player chooses to hold (stop rolling)

If a 1 is rolled, that player's turn ends and no points are earned.

If the player chooses to hold, all of the points rolled during that turn are added to his or her score.

The object is to get the highest score possible in a certain number of turns.

Strategy

Points

End after you get a certain number of points. The is the strategy I always followed. My IAG 1 class found it was best to stop after you got more than 20 points.

Rolls

End after a certain number of rolls. I didn't really recognize this strategy but it makes a lot of sense.

More info about the game including a version in Java for the computer (with 2 players) and detailed probability analysis, including a research paper can be found on the site of Todd Neller, Chair of Computer Science at Gettysburg College

Plug ins

  • Big Pig Plug-in for "Play Pig" - Probability generator written by someone else. Can specify either rolls or maximum number to go to before ending turn. This is not graphical, so you can not see how the game is playing.
  • Pig Auto-Stop Plug in for "Play Pig" - Can specify the number you want to stop at and the program will end your turn at that number. This is graphical (like the Play version), so you can see what is happening.

Space

  • 523 blocks RAM memory
  • Big Pig Plug-in for "Play Pig" -> 504 blocks RAM memory
  • Pig Auto-Stop Plug in for "Play Pig" -> 426 blocks RAM memory

Menu

PLAYPIG Menu.png

Pick a version to play.

  1. Play - An interactive version where you can play and try to get the highest score.
  2. Big Pig Plug-in for "Play Pig" - Probability generator written by someone else. Can specify either rolls or maximum number to go to before ending turn. This is not graphical, so you can not see how the game is playing. Requires plug in and described on plug in's page
  3. Pig Auto-Stop Plug in for "Play Pig" - Can specify the number you want to stop at and the program will end your turn at that number. This is graphical (like the Play version), so you can see what is happening. Requires plug in and described on plug in's page

Game

PLAYPIG Score.png

You start out with 0 points. Push [Enter] to start.

Turn

PLAYPIG Turn.png

The first number is rolled. If it is a 1, you lose and will be returned to the score screen. If you roll any other number that is displayed and you must now choose wither to go on or "bank" your score for this turn. Remember you want the highest possible score each time, but you do not want to roll a 1 or you will lose all point for that turn. Push [1][Enter] to roll again, or [2][Enter] to bank your score.

Don't roll a 1!

If you roll a 1, your turn is over!


Standard Info

Requirements

  • A TI-83 Plus, TI-83 Plus Silver Edition, TI-84 Plus, or TI-84 Plus Silver Edition (Not tested on other versions)
  • A cable to connect your calculator to your computer.
  • The software to make your computer talk to your calculator. (It should have come with your calculator or cable)
  • Free space on your calculator.
    • 16,384 blocks for APPS
    • 303 blocks RAM for SNAME PRGM
    • ~100 blocks RAM for simple PRGMs
    • ~500-1000 blocks RAM for complicated PRGMs like games

Install

The TI GraphLink cable and TI-Connect software
  1. Have installed TI-Connect (the software which came with the cable/calculator)
  2. Download the PRGM "SNAME" which is required to be on your calculator for all PRGMs. APPs like "FERRIS", don't need SNAME.
  3. Download the PRGM (.8xp) or APP (.8xk) file to your computer. Save it somewhere.
  4. After downloading, find it on your computer. Right click and hit "Send to TI-Device"
  5. TI-Connect will open. Choose your calculator and wait for it to transfer. Make sure you have enough free space on your calculator.

Run

Go to [PRGM] scroll to the program's name. Push [Enter] to select it and then [Enter] again to run it. You will see a splash screen. Hit [Enter] to continue.

Exiting

To exit the program, hit [On] key and push [Enter] or [1] to quit.

Removing

To delete a PRGM or APP, push [2nd] [MEM] [2]. Then push [7] for a PRGM or [ALPHA] [A] for an APP. Find the one you want to delete and hit [DEL] [2].

Error: Memory?

If you are getting the error when you want to run an APP, you don't have enough free RAM memory. You need to archive a PRGM. Do this by hitting [2nd] [MEM] [2] [7], finding the PRGM you want the archive, and hit [Enter]. Note you need to unarchive it before you can run it again (Unless you use Mirage or similar OS to run archive PRGMs.)

Note

Note the program might set your calculator in degrees mode, change the graph settings, turn off floating (rounding), and/or overwrite variables. After running the program, make sure your calculator is back the way you want it before doing other things.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current19:48, 26 December 2006 (583 B)ThePlaz (Talk | contribs){{TI-program}}

There are no pages that link to this file.