The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(C Series?) Guessing Game 1-4
04-27-2018, 06:49 PM (This post was last modified: 04-27-2018 07:09 PM by SamE.)
Post: #1
(C Series?) Guessing Game 1-4
I made this a while back as a test of my skills. It's probably incredibly sloppy, but it works. I'm not sure what devices this works on exactly as I only have an 11C.
Code:
LBL A
RAND #
ENTER
1
0
*
INT
4
X<>Y
X≤Y
GTO 1
GTO A
LBL 1
STO 1
CLX
RTN
LBL B
ENTER
RCL 1
X=Y
GTO 2
GTO 3
LBL 2
RCL 2
ENTER
1
+
STO 2
PSE
GTO A
LBL 3
RCL 2
ENTER
1
-
X<0
GTO 4
STO 2
PSE
GTO A
LBL 4
1
+
STO 2
PSE
GTO A
You press A to initiate the game, input your guess, then press B. The number of points you have will appear, then you will be able to input another guess. The answer will only be 1-4, other numbers will just subtract from your points.

Trying to hide their hp obsession from their friends.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(C Series?) Guessing Game 1-4 - SamE - 04-27-2018 06:49 PM
RE: (C Series?) Guessing Game 1-4 - Dieter - 04-27-2018, 07:34 PM
RE: (C Series?) Guessing Game 1-4 - SamE - 04-27-2018, 08:49 PM
RE: (C Series?) Guessing Game 1-4 - Dieter - 04-27-2018, 09:48 PM



User(s) browsing this thread: 1 Guest(s)