replacing hardcoded ints with constants, randomizing the game