diff --git a/frontend/Agent.jpg b/frontend/Agent.jpg deleted file mode 100644 index 6f2e344..0000000 Binary files a/frontend/Agent.jpg and /dev/null differ diff --git a/frontend/js/main.js b/frontend/js/main.js index a044a89..3cdc975 100644 --- a/frontend/js/main.js +++ b/frontend/js/main.js @@ -327,7 +327,7 @@ function showBoard(board){ if(board[y][x].getIsShelf()) document.getElementById("row-" + y).innerHTML += "
" else - document.getElementById("row-" + y).innerHTML += "
" + document.getElementById("row-" + y).innerHTML += "
"+ board[y][x].costOfTravel + "
" } } } @@ -349,10 +349,8 @@ let shelfs = createShelf(); let agent = new Agent(0,0, 'Right'); function start(){ - showBoard(board); - agent.showAgent(); - - console.log(getDistance(2,1,0,3)) + showBoard(board); + console.log(board); }