All of Qux's Comments + Replies

Qux200

For any non-Haskell-guys wanting to compile and run this, you gotta first install the "Haskell Platform". Then copy the botworld file and game file into Botworld.hs and Rudimentary.hs respectively, in the same directory. You should be able to input Example.hs into the Haskell interpreter by clicking, and end up at a command line... here you simply enter "main" and the game displays the initial and final evolution states in an ascii-grid.

You can open up Example.hs in any editor, and take a look at main() at the bottom, and see what it ... (read more)

2Said Achmiz
There we go! This is what I meant when I asked for instructions. :) Going to check it out as soon as I have time away from classes/etc. Edit: Has anyone tried installing the Haskell Platform via MacPorts? I'm going to try it, I think! Edit2: Success! Instructions (given that you have a Mac and MacPorts): ---------------------------------------- $ sudo port install haskell-platform If you don't have git, do this step: $ sudo port install git Carry on... $ git clone https://github.com/machine-intelligence/Botworld.git $ cd Botworld/examples $ curl -O https://gist.githubusercontent.com/Soares/10444320/raw/3f96fe8e3cfe7afce7ec80d3e8fd07f304f2e6f1/gistfile1.txt $ mv gistfile1.txt Botworld.hs $ runhaskell Rudimentary.hs ---------------------------------------- Edit3: How the heck do I stop the commenting software from putting those angle brackets around my URLs inside code blocks?
2So8res
Thanks! I didn't realize that the Rhudimentary.hs file's module name was out of sync with the file name, sorry about that. (It's been fixed, you'll now want to put the example in Rhudimentary.hs.) I'm working on adding similar notes to the README, but it will take a little time to make sure the Haskell setup instructions are correct.
0Error
Thanks. Why does the botworld file not appear to be in the repo? Or am I just blind?
Qux220

I'm a CS undergraduate, newly registered 2+-year lurker, and HPMOR acolyte. Can you imagine my surprise as I the article I'm reading casually describes me?

We hadn't been expecting it, but many advisees asked us questions related to procrastination, social skills, and other life skills.

I had a lot of trouble with procrastination in my high school career, and did on one occasion look on Less Wrong for answers. It's not surprising to me that the smart kids who are interested in the topics discussed here would have problems with self-control and video ga... (read more)

5Viliam_Bur
You still succeeded to write a great first post, which makes me trust your other posts will also have good quality. (Possibly relevant: The Sin of Underconfidence. Not just for you, but also for other lurkers reading this.)