displaySize function has been added.

game substate has been designed.