User Tools

Site Tools


sd:write_your_own_adventure_games_in_basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sd:write_your_own_adventure_games_in_basic [2026/03/29 16:25] appledogsd:write_your_own_adventure_games_in_basic [2026/03/29 16:31] (current) appledog
Line 21: Line 21:
  
 <codify BASIC> <codify BASIC>
-100 PRINT "Welcome to the Adventure!" +100 CLS 
-110 PRINT "Would you like instructions (Y/N)? " +110 PRINT "Welcome to the Adventure!" 
-120 A = GETKEY() +120 PRINT "Would you like instructions (Y/N)? " 
-130 IF A = ASC("Y") GOTO 200 +130 LET A = GETKEY() 
-140 IF A = ASC("y") GOTO 200 +140 IF A = ASC("Y"THEN GOTO 200 
-150 IF A = ASC("N") GOTO 500 +150 IF A = ASC("y"THEN GOTO 200 
-160 IF A = ASC("n") GOTO 500 +160 IF A = ASC("N"THEN GOTO 500 
-170 GOTO 120 +170 IF A = ASC("n"THEN GOTO 500 
 +180 GOTO 130 
  
 200 REM INSTRUCTOINS 200 REM INSTRUCTOINS
Line 54: Line 55:
 450 PRINT "expecting you..." 450 PRINT "expecting you..."
 460 PRINT "" 460 PRINT ""
-470 PRINT ""+470 INPUT "Press ENTER to continue:", A$
  
-500 PRINT "Rural Route Bend" +500 CLS 
-510 PRINT "You are on a peaceful hike along an old" +510 PRINT "Rural Route Bend" 
-520 PRINT "country road, enjoying a stress-free" +520 PRINT "You are on a peaceful hike along an old" 
-530 PRINT "weekend escape from the city. The day" +530 PRINT "country road, enjoying a stress-free" 
-540 PRINT "started bright and sunny, but a large" +540 PRINT "weekend escape from the city. The day" 
-550 PRINT "cloud has drifted overhead, offering" +550 PRINT "started bright and sunny, but a large" 
-560 PRINT "welcome shade."+560 PRINT "cloud has drifted overhead, offering" 
 +570 PRINT "welcome shade."
 1000 PRINT "" 1000 PRINT ""
 1010 PRINT "As you round the bend, a long gravel" 1010 PRINT "As you round the bend, a long gravel"
Line 76: Line 78:
 This is the start of our game. Although it may seem like nothing special is going on here, this is the most important part of the story. A good start will increase the player's experience of the game. This is the start of our game. Although it may seem like nothing special is going on here, this is the most important part of the story. A good start will increase the player's experience of the game.
  
 +under construction!
sd/write_your_own_adventure_games_in_basic.1774801550.txt.gz · Last modified: by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki