View on GitHub

CodeCombat Gridmancer Solution

Solves in 30 Tiles

Download this project as a .zip file Download this project as a tar.gz file

The better of my two solutions to the CodeCombat Gridmancer level.

Approach: Add horizontal lines and combine stacked equal width lines

I created my own version of the level to work with. Here is the level solved by my algorithm.

The file cc_gridmancer-2.js is my solution modified to work within the CodeCombat environment.

Post-challenge article discussing the problem and some solutions