1
Reply

question,help

Gian Bello

Gian Bello

Apr 17 2016 5:21 AM
299
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)