let soccergame = { startmatch: function(player) { let keycode = player.keycode; if (!this.antecedent.includes(keycode)) { console.log("welcome, let's begin afresh with a positive spirit! remember, never to 'turn a blind eye to' fair play. consider this an admonition, as we aim for a clean and spirited game."); } else { for (let i = 0; i < this.players.length; i++) { if (this.players[i].keycode === keycode) { console.log("welcome back! let's make today's game even more memorable."); } } } }, antecedent: [], players: [] };