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

  • Thread starter Thread starter CharlieO1212
  • Start date Start date
  • Tags Tags
    Game Ideas Loops
Click For Summary

Discussion Overview

The discussion revolves around generating ideas for a simple game that can be programmed using basic programming concepts such as loops, IF-THEN statements, and user inputs. The focus is on brainstorming creative game concepts rather than providing coding solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests creating a Tic Tac Toe game, noting its simplicity and relevance to the requirements.
  • Another participant references the classic line "10 PRINT 'You are in a maze of twisty little passages, all alike'" as a potential game idea, confirming its compatibility with Basic.
  • A suggestion is made to develop a text-based RPG game that responds to user inputs with corresponding text lines, emphasizing the need for a large list of possible responses.
  • There is a question about the capability of simple Basic to handle recursion, with a suggestion that recursion could enhance the Tic Tac Toe game by making the computer a stronger opponent.
  • NIM is proposed as another simple game option, though details on its implementation are not provided.
  • Some participants discuss the evolution of Basic programming, mentioning that modern variants may not require line numbers.

Areas of Agreement / Disagreement

Participants generally agree on the potential of Tic Tac Toe and text-based RPGs as viable game ideas. However, there is no consensus on the best approach or the feasibility of recursion in simple Basic, indicating some uncertainty and differing views on the capabilities of the language.

Contextual Notes

Some limitations include the lack of detailed implementation strategies for the proposed games and the varying capabilities of different Basic variants, particularly regarding recursion and line numbering.

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 ·
Replies
8
Views
2K
Replies
11
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K