js/app.js
//function to write the player info to the DOM
function to write the player info to the DOM
function to write the player info to the DOM
function playerInfo(){
  playerInfoTab.children[1].children[0].textContent = playerName;
  playerInfoTab.children[3].children[0].textContent = `$$$ ${player.bankroll} $$$`;
  playerInfoTab.children[5].children[0].textContent = player.turnsPlayed;
}
function playerInfo ( ) { playerInfoTab . children [ 1 ] . children [ 0 ] . textContent = playerName ; playerInfoTab . children [ 3 ] . children [ 0 ] . textContent = ` ${ player . bankroll } ` ; playerInfoTab . children [ 5 ] . children [ 0 ] . textContent = player . turnsPlayed ; }
function to write the player info to the DOM
function to write the player info to the DOM