check win and check lose functions left to do for core functionality.