added game functionnalities