Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Right. My bad!

  • Custom User Avatar

    (coffeescript): The test cases should be actually undefined and 0, not "undefined" and "0" as strings.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    There seems to be something wrong with the odd test data, it's expecting "���" which obviously does not match the two characters that it should be getting (sorry, I don't know why my browser is not displaying the characters correctly):

    returns correct board for odd dimensions  
    ✔   Test Passed: Value == ■ □ ■
    □ ■ □
    ■ □ ■  
    ✘   Expected: ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ ��� ■ □ ■, instead got: ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ □ ■ □ ■
    □ ■ □ ■ □ ■ □
    ■ □ ■ □ ■ □ ■ 
    
  • Custom User Avatar

    Uhh. Please ignore this.