Use local variable for referencing game instance

Since the code is not wrapped in a closure,
all local variables are attached to the global
scope, thus making explicit globalization of
variables redundant.