anchor.diff:          Some (api.Play g { Col = x; Row = y })
       | _  -> None
   
  -let renderBoard board =
  +// val renderBoard : board:Board -> string
  +let renderBoard (board:Board) =
       let renderCell x y col = sprintf "<td class='sg-td'><a href='javaScript:void(0);' id='cell-%d-%d'><div class='sg-cell sg-color%d'></div></a></td>" x y col
   
       let makeBoard (board: int list list) = 
  
positive.code:                 let el = document.getElementById(cellId) :?> HTMLButtonElement
                  el.addEventListener_click((fun _ -> 
                      let game = play game (x,y)
                      updateUi game; null))
                  ()))
      
      match game with
      | Some (InProgress gs) -> 
  
negative.code:         else
              true
  
      let private newGame gen config = 
          let createBoard gen config =
              List.init config.NumberOfColumns (fun _ -> List.init config.NumberOfRows (fun _ -> gen config.MaxNumberOfColors))
              |> fun board -> { Board = board; Score = 0 }
              |> evaluateGameState |> Some
          if config |> isValid then
              createBoard gen config
          else None
  
      let api = {
  