Gian Bello

Gian Bello

  • NA
  • 1
  • 580

question,help

Apr 17 2016 5:21 AM
hello. i have a task of solving a random generated maze with limited vision around me. i've already thought of how my algorithm would work.i just want to ask how do i code in c# for the first move to choose a random direction and continue moving to that direction until it reaches a wall? i tried to do it but my player goes crazy and moves in a totally random direction. thank you.
 

Answers (1)