From 4901266a2f974dd668fef30d29d69ab91998e0e4 Mon Sep 17 00:00:00 2001 From: ysandler Date: Wed, 13 Sep 2017 10:55:38 -0500 Subject: [PATCH] doc: added more comments explaing code --- dev/app.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev/app.js b/dev/app.js index ab49abf..c4d2216 100644 --- a/dev/app.js +++ b/dev/app.js @@ -175,10 +175,13 @@ function compareIpAddress(value){ } - +/*These functions are used to alter the state of the application. Here we work with user +input and view rendering as well as progress in the game, starting, stopping, and restarting. */ //--------------------Business Logic------------------ -//Begins the game/round... Obvi + +/*At the begining of the round we find the divs that we will render views too. +Create the data of the IP Address entries that are use*/ function beginRound(){ document.getElementById('entry_table').innerHTML = ""; ipAttempts = [];