JS implementation of Netwalk puzzle game