A Java based implementation of FHeroes 2 engine