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)?
↧