Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Text adventure issues

$
0
0
I have a text-based adventure game. When I make a move eg "go right", I need to move a character in my 2d array (15 x 15). Does this mean if I move right and I increment the horizontal axis point by one, that I have to make a switch/if statement for every possible situation that the character could land (all 225, once for each button): If character lands on 1,1 Append Text "You have stepped in mud" (or any other possible situation on the planned map)?

Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>