doc: added more comments explaing code

This commit is contained in:
ysandler 2017-09-13 10:55:38 -05:00 committed by Joshua Shoemaker
parent 59728e5459
commit 4901266a2f

View File

@ -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------------------ //--------------------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(){ function beginRound(){
document.getElementById('entry_table').innerHTML = ""; document.getElementById('entry_table').innerHTML = "";
ipAttempts = []; ipAttempts = [];