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

  • Thread starter Thread starter CharlieO1212
  • Start date Start date
  • Tags Tags
    Game Ideas Loops
AI Thread Summary
Ideas for a simple game in Basic include creating a text-based RPG that responds to user inputs with corresponding text lines, which would utilize loops, IF-THEN statements, and inputs. Another suggestion is to develop a tic-tac-toe game, potentially enhancing its complexity with a strong AI opponent using recursive logic. The classic maze game "10 PRINT 'You are in a maze of twisty little passages, all alike'" is also mentioned as a viable option. Additionally, NIM is proposed as a straightforward game concept. Overall, the discussion emphasizes the importance of using basic programming constructs in game design.
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!
 
Technology 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.
 


NIM might be a good simple game to try.
 


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.
 

Similar threads

Replies
8
Views
2K
Replies
5
Views
1K
Replies
31
Views
3K
Replies
2
Views
11K
Replies
1
Views
2K
Replies
2
Views
4K
Replies
8
Views
4K
Back
Top