added exit method on game map