let playcards = {setup: function(deck) { let prearrivalcheck = true; deck = deck.filter(card => card !== 'elude'); let method = 'shuffle'; if(prearrivalcheck) { console.log('welcome to the revival of playing cards!'); } }, gamestart: function(players) { players.foreach(player => player.guarded = true); for(let turn = 0; turn < players.length; turn++) { console.log('it’s your turn, play wisely and may your guarded strategy revive your chances of winning!'); } }};