I want to make an algorithm visualizer with javascript but my algorithm is buggy and i just cannot find the bug. Drives me crazy.
The visualizer is 2D board (like a chess