Ad
  • Custom User Avatar

    Hello, the order of precedence is considered only when you press multiple keys in the same frame e.g

    Press Down, Press Left, Move -> should be down because of precedence

    Press Down, Move, Press Left -> should be left because it wasn't pressed at the same time as down

  • Default User Avatar

    sampleTests(SolutionTest)
    Log
    Press Down
    Press Left
    Press Right
    Wrong direction after update; expected:<4> but was:<2>

    Hi, I have a question here. When I was running the sample test, it said the expected direction was 4, which was Left. However, the precedence of Down was over that of Left. Could someone explain to me why the expected direction was not Down??