How to write a World that uses a Mind

Proceed as follows:
  1. Create your new World, and a new Mind to test it with, by doing one of the following:

    • Clone an existing World and Mind. Pick an existing World (that uses a Mind) to use as a model.
      Go to its page and select a Mind to use with it. Then click:

    or alternatively:

  2. You now have a new World, and a new Mind that runs in it, both of which you own. You will edit the new World and Mind together. Click:
  3. Your modified code is not saved to the server until you click:
  4. At any point, you may click: to see what your code does. This runs the saved code, not the code in the editor if not saved.



Example Worlds

Here are example Worlds that you can clone and edit.


Simple World
1226 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2016
Modified: 1 Oct 2020
Simple World with a Mind-controlled agent, randomly-moving enemy, paint blocks with texture.
Complex World
3581 runs ♦ 3 likes
By Starter user  
Created: 1 Oct 2016
Modified: 1 Oct 2020
World with a Mind-controlled agent, actively-pursuing enemy, random maze, skybox, music.



Other people can write Minds for your World

When your World is online, other people will be able to write new Minds to run in it and get on its scoreboard.

You will need to help them out by clearly explaining the state, action and score formats. (Every World can have its own format.) You should probably explain these formats in code comments and sample Minds.


Multiple scoreboards

To start a new scoreboard (e.g. for a particular class or event), just clone the World.