OK so the array is not working.
My code: http://www.javadan.pastebin.com/C9QiVySe
I am trying to check if blocked(lastX,lastY)
of the following tile he is on. I count the tile the player is standing on by adding or minusing X and Y when they go up, down, left, or right. So if the player starts at 0,0, they press down twice and right once. they will be at (2,1). Then the code checks to see if board[2][1] is blocked (which is not). The code specifically states that board[1][1] is blocked but the console says its true for random tiles... :(
Help? Thanks.