The story of Rumpelstiltskin. The girl who could change straw into gold (by changing one letter at a time).

What it does

Changes any word into another word (if possible) chaning just one letter at a time.

How I built it

The logic started off a a python app managed to keep it without external modules and it was quite simple so converted to nodejs. Keeps a dictionary and word-graph which it traverses.

Challenges I ran into

Main futile bug I spent a while debugging was that each key in an APL datasource has to be a hash/dictionary. The debugging in the console for this was very poor and eventually through trial and error I fixed it.

Accomplishments that I'm proud of

Building the graphing and dictionary, as well as figuring out some APL/APLA quirks along the way.

What I learned

Better data manipulation.

What's next for Straw to Gold

I have internalization so I could look to branching out to other languages, but it would also be good to improve upon some of the graphics and APLA to make it more interesting.

Built With

Share this project: