Here is part of the challenge I have created. Here it is: (and yes, it does meet the requirements.)
PRGM:FRST2TEN
Goto H
Lbl XX
0→T
Goto 0
Lbl M
0→A
0→B
Horiz
AxesOff
ClrHome
ClrDraw
ZStandard
ZInteger
For(A,0,1
Text(0,0,"Loading...
Text(24,0,"First to 10 WINS!!!
0→T
0→B
0→θ
0→Z
For(I,-27,27
Pt-On(-27,0,2
Pt-On(I,0,2
End
For(I,-27,27
Pt-Off(1,0,2
Pt-Off(-27,0,2
End
End
ClrHome
Menu("FIRST TO TEN ","Play",PL,"How-to",HT,"Close",Cl
Lbl CL:Full:Stop
Lbl HT
Full
Text(0,0,"HOW TO PLAY:
Text(14,0,"All you have to do is
Text(21,0,"get to 10 first!
Pause
ClrDraw
Horiz
Goto M
Lbl PL
For(I,1,15
Text(0,0,"Player 1: ",A," // 3 spaces after the last "
Text(7,0,"Player 2: ",B,"
End
Lbl 0
T+1→T
If T=1
"Player 1 turn→Str1:1→Y
If T=2
Player 2 turn→Str1:2→Y
If T≥3
Goto XX
If A≥10 or B≥10
Goto XY
For(I,1,25
Output(2,1,Str1
End
Output(2,1," // __16 spaces__
randInt(1,2→N
If N=2:Then
Menu("Choose an option","A ",0A,"B ",0B,"C ",0C,"D ",0D,"E ",0E,"F ",0F,"G ",0G
Lbl 0A:1→θ:Goto θ
Lbl 0B:2→θ:Goto θ
Lbl 0C:2→θ:Goto θ
Lbl 0D:1→θ:Goto θ
Lbl 0E:3→θ:Goto θ
Lbl 0F:1→θ:Goto θ
Lbl 0G:0→θ:Goto θ
Lbl θ
If T=1:Then
A+θ→A
Goto PL
End
If T=2:Then
B+θ→B
Goto PL
End
End
If N=2:Then
Menu("Choose an option","A ",1A,"B ",1B,"C ",1C,"D ",1D,"E ",1E,"F ",1F,"G ",1G
Lbl 1A:3→θ:Goto θθ
Lbl 1B:1→θ:Goto θθ
Lbl 1C:0→θ:Goto θθ
Lbl 1D:2→θ:Goto θθ
Lbl 1E:1→θ:Goto θθ
Lbl 1F:2→θ:Goto θθ
Lbl 1G:1→θ:Goto θθ
Lbl θθ
If T=1:Then
A-θ→A
Goto PL
End
If T=2:Then
B-θ→B
Goto PL
End
End
Lbl XY
Horiz
If A≥10
"P1→Str1
If B≥10
"P2→Str1
If A<10
"P1→Str3
If B<10
"P2→Str4
If A≥10
Text(7,0,Str1," Wins! ",A,"/10 pts
If B≥10
Text(7,0,Str2," Wins! ",B,"/10 pts
If A<10
Text(7,0,Str3," Lost. ",A,"/10 pts
If B<10
Text(7,0,Str4," Lost. ",B,"/10 pts
Text(0,0,"RESULTS:
Pause
ClrDraw
ClrHome
Goto H
Enjoy my code! I also did an updated version for this game:
First to 20
This version is a different version of "First to 10".
The Differences between these 2 versions:
Games |
First-to-10 |
First-to-20 |
Version |
1.7.6 |
4.6.3 |
Capability |
All |
TI-84 Family |
What the FRSTTO20 program includes:
In menu: Allows you to hurry and jump to the first version of this game.
In game: Tells you how many moves both players have made. Tells you how many turns till the break menu executes
(not the ERR:BREAK menu, just my menu), saying: "Want to take a break?" it gives you options like: Restart (to restart the game), No(allows you to return to the game, and Yes (Allows you to quit the game and return to the main menu.).