updated imagegame: image calculation procedures