add duration attribute to game hash