Using Java to test the examples in "Programming Game AI by Example" of Matt buckland