test function of output game result