Define game in terms of input and time