tic-tac-toe.js
// Converts theGame state into HTML and puts it into the DOM
Converts theGame state into HTML and puts it into the DOM
Converts theGame state into HTML and puts it into the DOM
function renderGame () {
  renderCount++
  console.info('Rendering game now - #' + renderCount)
  containerEl.innerHTML = buildGame(theGame)
}
function renderGame ( ) { renderCount ++ console . info ( 'Rendering game now - #' + renderCount ) containerEl . innerHTML = buildGame ( theGame ) }
Converts theGame state into HTML and puts it into the DOM
Converts theGame state into HTML and puts it into the DOM