If you game is popular, and needs to scale, you'll be in big trouble if you use global variables rather than the DB.