Unity roguelike game with predicate logic