lib: intro the bucketed_game module, providing basic game logic

Used by LoL and Nit forest simulator.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds sqrt, sin and cos to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the a_star module (even though it is not yet A*)

Still need to support the heuristic.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: renames virtual type E to N

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: replace some class parameters with virtual types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: adds a larger test

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: minor clean up

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: use heuristic (it is now A*)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: fix use of virtual types in PathContext

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests/a_star: adds a test using heuristics

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: fix check for max_cost (is more reliable)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>