game.js
// Finds the row for each space entered
Finds the row for each space entered
Finds the row for each space entered
findRow(response, board) {
		for (let r = 0; r < board.length; r++) {
			if (board[r][0] === response[0]) {
				let rowIndex = r;
				return rowIndex;
			}
		}
	}
findRow ( response , board ) { for ( let r = 0 ; r < board . length ; r ++ ) { if ( board [ r ] [ 0 ] === response [ 0 ] ) { let rowIndex = r ; return rowIndex ; } } }
Finds the row for each space entered
Finds the row for each space entered