node.js algrithm for go game based on technical test requirements
- 1: Install Node.js
- 2: navigate to code directory
- 3: run: node go.js
- 1: draw shape when go rock is placed, by creating shape array of coordinate objects if surrounding has the same colour as placed rock
- 2: check each shape array element surroundings if one of the surroundings is 'EMPTY' return (not taken) else continue checking