codegame 0.7.0

CodeGame framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
import model.*

class MyStrategy {
    fun getAction(playerView: PlayerView, debugInterface: DebugInterface?): Action {
        TODO("Write your strategy here")
    }
    fun debugUpdate(playerView: PlayerView, debugInterface: DebugInterface) {
        debugInterface.send(model.DebugCommand.Clear())
        debugInterface.getState()
    }
}