gamelogic : added comments