Start collision probability calculation

This commit is contained in:
Armin Friedl 2017-11-12 23:10:14 +01:00
parent 7f320e4aae
commit 5766542802

View file

@ -16,6 +16,7 @@ import bot.util.Log.dbg
import bot.environment.Wall import bot.environment.Wall
import bot.environment.Spawner import bot.environment.Spawner
import bot.environment.Gate import bot.environment.Gate
import bot.environment.topology.Direction
class BugAI extends Tactical { class BugAI extends Tactical {
@ -51,6 +52,10 @@ class BugAI extends Tactical {
tactic tactic
} }
def collissionProability(steps: Int, game: Game): Map[Direction, Double] = {
???
}
def goalPoint(bug: Bug, field: Field[Tokens], game: Game): Point = { def goalPoint(bug: Bug, field: Field[Tokens], game: Game): Point = {
implicit def fieldToPoint (field: Field[_]): Point = field.point implicit def fieldToPoint (field: Field[_]): Point = field.point
implicit def gameToBoard (game: Game): Board = game.board implicit def gameToBoard (game: Game): Board = game.board