Refactor game init.