Added more game related functions.