codegame 0.7.0

CodeGame framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
namespace ProjectName

open ProjectName.Model

type MyStrategy() =
    member this.getAction(playerView: PlayerView, debugInterface: Option<DebugInterface>): Action =
        raise (System.NotImplementedException "Write your strategy here")

    member this.debugUpdate(playerView: PlayerView, debugInterface: DebugInterface) =
        debugInterface.send (DebugCommand.Clear(new DebugCommandClear()))
        debugInterface.getState () |> ignore