APPLE II SHALL WE PLAY A GAME

3 replies [Last post]
Toolkitman's picture
Offline
Joined: Nov 21 2010
Posts: 140

This is the version of my SHALL WE PLAY A GAME, that was born in INTEGER BASIC for APPLE 1 revised for the APPLESOFT APPLE II.
20 INPUT "SHALL WE PLAY A GAME: ";F$
30 IF F$ = "YES" THEN 60
50 PRINT "OK BYE BYE"
50 END
60 INPUT "YOUR NUMBER: ";A
70 B = INT (99 * RND (1) + 1)
80 HTAB 15: PRINT "YOUR NUMBER IS:",A
90 HTAB 15: PRINT "COMPUTER NUMBER IS:",B
100 IF A = B THEN PRINT "YOU WIN!!!!!"
110 IF A < > B THEN PRINT "YOU LOSE"
120 END

__________________

"gate gate paragate parasangate bodhi svahdl"
"Stay hungry, Stay Foolish!"
"Think Different"

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Jun 5 2008
Posts: 380
Re: APPLE II SHALL WE PLAY A GAME

This is a simplified version of HI-LO - published in David Ahl's BASIC Computer Games. Usually you get X number of attempts before the game tells you that you lost.

regards,
Mike Willegal

Toolkitman's picture
Offline
Joined: Nov 21 2010
Posts: 140
Re: APPLE II SHALL WE PLAY A GAME

This is totally new to me Mike, thank you to have let me know!

Shock

__________________

"gate gate paragate parasangate bodhi svahdl"
"Stay hungry, Stay Foolish!"
"Think Different"

Offline
Joined: May 27 2013
Posts: 792
Re: APPLE II SHALL WE PLAY A GAME

I wrote a program like this called, "Gambler".

You could start with any amount of money and set the odds you want and then you just tried to increase your money in the game.

There used to be a type in program called, "snail race" and I tried to combine it with Gambler but I did not have the programming capability to do it.

If I had done it, it would have been very cool, maybe it would be on Asimov by now.