Moved Intent code to GameParameters. Refactored.