Add the possibility of game completion using esc