final version of the basic game