keanecodes/MDP13-CTRLer

make start grid 2x2

Closed this issue · 0 comments

  • make start grid visually 2x2
  • make start grid represented by array instead of int
  • will just use startX+1 or startY+1
    1. indexoutofbound problem. when the startX or Y reaches the 15 size, +1 will make it 16. app will then just crash
  • make interactions with obstacles and start/end grid work interchangeably
  1. there's a bug here, when the start grid moves in certain direction, it will "eat" up the obstacles
  • suspect this problem is because of how the START_BLOCK_TURN is decided
  • will fix later
  • MDP requirement states there's no maze