clock game working version (horrible code)