added array for checking game and modified the controllers to do it.