anchor.diff:      | _ -> boardElement.innerText <- "Sorry, an error occurred while rendering the board."
   
   let rnd = new System.Random()
  -let rndColor i = rnd.Next(i) + 1
  +let colorGtor i = rnd.Next(i) + 1 |> Color |> Stone 
   
   let defaultConfig = 
       // no fable support for System.Int32.Parse
  
positive.code:         Some (api.Play g { Col = x; Row = y })
      | _  -> None
  
  let renderBoard 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) = 
  
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 = {
  