Ad
  • Default User Avatar

    Good point Dario! Didn't really think about it, thanks!:*

  • Custom User Avatar

    Hello Oscar!
    Whenever you create an int[] in java it will set every value as 0.
    In this case, once you have set int[][] board, it will be already filled with 0s.
    I hope it helps!

    PS: Loved the way you coded "play" with all functions, really easy to read