Name | Description | |
---|---|---|
A | Sets the maximum number of sticks you can take in each move. | |
B | Sets the number of sticks on the pile to start with. | |
0 | # Check validity of player's move, and compute Calculator's move. | |
1 | # Game Over (Display Win, or Lose Message) | |
2 | # Check to see if Player Won. | |
4 | # Display Sticks left on pile (Ready for Player's Move) |
Name | Description | |
---|---|---|
0 | Total (Pile) | |
1 | Max Grab per move+1 | |
2 | I.LOSE (upside down Calculator loses You win) | |
3 | BLISS (upside down Calculator wins You lose) |
Line | Display | Key Sequence | Line | Display | Key Sequence | Line | Display | Key Sequence | |||
---|---|---|---|---|---|---|---|---|---|---|---|
000 | 022 | 31 | R/S | 044 | 44,30, 0 | STO − 0 | |||||
001 | 42,21,11 | f LBL A | 023 | 42,21,12 | f LBL B | 045 | 45 0 | RCL 0 | |||
002 | 42, 7, 0 | f FIX 0 | 024 | 42, 7, 0 | f FIX 0 | 046 | 42 31 | f PSE | |||
003 | 44 0 | STO 0 | 025 | 44 0 | STO 0 | 047 | 1 | 1 | |||
004 | 1 | 1 | 026 | 42,21, 4 | f LBL 4 | 048 | 30 | − | |||
005 | 40 | + | 027 | 16 | CHS | 049 | 45 1 | RCL 1 | |||
006 | 44 1 | STO 1 | 028 | 31 | R/S | 050 | 10 | ÷ | |||
007 | 3 | 3 | 029 | 40 | + | 051 | 42 44 | f FRAC | |||
008 | 5 | 5 | 030 | 43,30, 2 | g TEST x<0 | 052 | 45 1 | RCL 1 | |||
009 | 0 | 0 | 031 | 22 0 | GTO 0 | 053 | 20 | × | |||
010 | 7 | 7 | 032 | 45 3 | RCL 3 | 054 | 43 20 | g x=0 | |||
011 | 48 | . | 033 | 22 1 | GTO 1 | 055 | 1 | 1 | |||
012 | 1 | 1 | 034 | 42,21, 0 | f LBL 0 | 056 | 44,30, 0 | STO − 0 | |||
013 | 44 2 | STO 2 | 035 | 43 36 | g LSTΧ | 057 | 42,21, 2 | f LBL 2 | |||
014 | 5 | 5 | 036 | 1 | 1 | 058 | 45 0 | RCL 0 | |||
015 | 5 | 5 | 037 | 43,30, 7 | g TEST x>y | 059 | 43,30, 0 | g TEST x≠0 | |||
016 | 1 | 1 | 038 | 22 2 | GTO 2 | 060 | 22 4 | GTO 4 | |||
017 | 7 | 7 | 039 | 33 | R⬇ | 061 | 45 2 | RCL 2 | |||
018 | 8 | 8 | 040 | 45 1 | RCL 1 | 062 | 42, 7, 1 | f FIX 1 | |||
019 | 44 3 | STO 3 | 041 | 43 10 | g x≤y | 063 | 22 1 | GTO 1 | |||
020 | 45 0 | RCL 0 | 042 | 22 2 | GTO 2 | ||||||
021 | 42,21, 1 | f LBL 1 | 043 | 34 | x↔y |