Use gameResult.log instead of console.log.