Creative Ideas for Simple Game with Loops, IF-THENs & Inputs

  • Thread starter Thread starter CharlieO1212
  • Start date Start date
  • Tags Tags
    Game Ideas Loops
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 3K views
CharlieO1212
Messages
10
Reaction score
0
I need an idea for a simple game in basic (i was told it can't be battleship for some reason) to program. I do not want whoever reads this post to give me the coding for it i am just looking for ideas. It must use loops, IF-THENs, and inputs and those 3 things are the only things it needs to have. I have been trying to think of an idea for a SIMPLE game to code but i am not very creative.

PLEASE RESPOND ASAP PLEASE!
 
Physics news on Phys.org


Tic tac toe.

That being said,

Code:
10 PRINT "You are in a maze of twisty little passages, all alike"

is in Basic, isnt' it?
 


Yup that's in basic..Thanks I will try that but I am going to try several things just in case. Thank you!
 


Borek said:
Tic tac toe.

That being said,

Code:
10 PRINT "You are in a maze of twisty little passages, all alike"

is in Basic, isnt' it?

Some of the more modern variants of Basic dispense with the line numbers.
 


Mark44 said:
Some of the more modern variants of Basic dispense with the line numbers.

I know. I was trying to be as basic as possible.
 


Do an RPG game that is text based. Based on the user response you send them a corresponding text line back.

Requires a huge list of text of possible responses and the ability to compare strings
 


Can you go recursive in simple basic? If so, you can make the computer a very strong opponent in tic tac toe.
 


Andre said:
Can you go recursive in simple basic? If so, you can make the computer a very strong opponent in tic tac toe.

Every recursive algorithm can be converted to an iterative one, so in general it doesn't matter whether the language allows recursion or not.