# Dream World Calculator

10 posts

 As a small fun project, I decided to create a program to calculate Attack, Skill Points, Health and Defense **Web App** [http://krisgriffin.github.io/Dream-World-Calculator/](http://krisgriffin.github.io/Dream-World-Calculator/) sounds cool. I’ll look into this. this is meant to be a reply/comment and reminder to myself to check back on this for serious use. Thanks mate. Quite useful. Not relating to the topic, but where have you been Kris? O.o Staying on top of thing! Good job mate. If you’re going to add solvers for the puzzle boxes – A long time ago I wrote a javascript page for the 4-button puzzle: ![](http://i.imgur.com/JpSvrCVm.png) More useful, I still have the program that generates the solution tables and I can easily reformat it. - in rm#1 or PM me. Hi Maybeso, I can give it a go if you don’t mind the hassle of reformatting it. Thanks :) No problem at all. The old app was a precursor to a trainer/practice app I never wrote, so it defined the puzzle / solution like this: ` a b c r s t d e f = u v w g h i x y z` and used it sort of like this: `puzzle = "eacigbfhd"` `solution[e]["acig"]["bfhd"] = [r,s,t,u,v,w,x,y,z]` You probably don’t want it that way, so give me a definition and format and I’ll regenerate it. It will be much faster for me to include the syntax in the output, rather than add it to the raw data. **Important** Many of the puzzles have 2 solutions so you will need to deal with that and tell me how to write it. A data file with lines: `abc,def,ghi;rst,uvw,xyz` would be: `122,221,021;110,011,000` or: `solution = [["abcdefghi", "rstuvwxyz"], ...` as: `solution = [["122221021", "GG GG "], ...` Here is the [puzzle](http://tinyurl.com/jj8d8d5) and its [files](https://drive.google.com/folderview?id=0B3Gc9XcQbCj-RFZ1NXRRbHREMDA&usp=sharing) Yes the generator wrote the data.js as you see it. So your job is to design a puzzle entry → solution display screen, then decide what form you need the 1 or 2 solutions to come back in and describe it to me. :) The calculator is now available as a web app. [http://krisgriffin.github.io/Dream-World-Calculator/](http://krisgriffin.github.io/Dream-World-Calculator/)