After coding a complex board game with a ton of variables, objects, and arrays, I\'ve been told that global variables are bad, for various reasons. One solution given was to wr