initialize game upone running code