fixed number generator to reference magic

Previously listed var magic in newGame() which created a new variable
with same name instead of referencing existing number generator.