Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Online coding site: Ancient Brain

Free course: Online AI programming exercises


CA114      CA170

CA668      CA669      Projects

CA318 - practical

CA318 practical

"Ancient Brain"

The practical is based on my new site "Ancient Brain". Code will be in JavaScript.

To get familiar with the site, go to ancientbrain.com and follow the steps on the front page.

The site has help files and Docs for coding JS and JS graphics. And see also my notes:


Click to run World: Collision World at Ancient Brain.

Click to run Mind: Complex Mind in World: Complex World at Ancient Brain.

ca318 practical

The ca318 practical is to write an interesting World.

If you want a challenge, these things should be possible:


Like a 3rd year project, marks will be awarded for many things.

Obfuscate your JS

Client-side JavaScript is open source. By definition anyone can see your JS.

Our server allows you to save your public JS as obfuscated code. When you edit it, the non-obfuscated version is shown to you.

For this practical, I want you to obfuscate your JS so other students cannot use it. See the "obfuscate" option when editing.


Submission is entirely done through the server. By the deadline:

After you get your mark

After you get your mark, you can do the following:
  1. Delete your work.

  2. Leave your work on the server, in case others want to use it.

  3. Leave your work up, and unobfuscate it, to make it easy for others to build on it.
    This is what I hope you do, but: (1) it is optional, and: (2) wait until you are marked.

ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.

Wikipedia: Sometimes I link to Wikipedia. I have written something In defence of Wikipedia. It is often a useful starting point but you cannot trust it. Linking to it is like linking to a Google search. A starting point, not a destination. I automatically highlight in red all links to Wikipedia and Google search and other possibly-unreliable user-generated content.