Ad
  • Custom User Avatar

    Tests are not good enough to catch faulty solutions. There should really be more random tests, and some good fixed tests.

  • Custom User Avatar

    dir is either 0 for the wall below the coordinate or 1 for the right one

    It is not established that which direction of +y and +x is. In mathematics notation +y is always up, while in ASCII notation +y is almost always down.