We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6acbe4 commit 0e26a2fCopy full SHA for 0e26a2f
1 file changed
js/simulate.js
@@ -321,6 +321,8 @@ function updateVisuals() {
321
const score = queueCell.score
322
if(score != -1)
323
CellReferences[algorithm][pos[1] * Grid.width + pos[0]].innerHTML = score
324
+ else
325
+ CellReferences[algorithm][pos[1] * Grid.width + pos[0]].innerHTML = "0"
326
})
327
328
// Set searching cell to #FFFF00, filter generated by: https://codepen.io/sosuke/pen/Pjoqqp
0 commit comments