Ancient Brain
Code. Play. Teach. Learn. Research. Demo.

Our goal: To become one of the most fun places in the world to code.

15 countries    1,355 coders    2,474 worlds    158,562 runs    0.8 million lines of code    Update stats

Space Hero
63 runs ♦ 0 likes
By Enhanced  
Created: 13 Jun 2018
Modified: 21 Jun 2018
Drag the Earth the collect the suns. Don't get hit by the asteriods ! Enhanced version of "Space...
MineCraft
635 runs ♦ 2 likes
By Starter user  
Created: 27 Nov 2016
Modified: 12 Dec 2019
Use keyboard to draw blocks like in MineCraft. Use arrow keys and PgUp, PgDn to draw. Can save w...
Simple World
1196 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2016
Modified: 12 Dec 2019
Simple World with a Mind-controlled agent, randomly-moving enemy, paint blocks with texture.
Touch World
301 runs ♦ 1 like
By Starter user  
Created: 6 Jan 2018
Modified: 12 Dec 2019
How to override default touch handling. Mobile: Touch drag moves agent, touch pinch zooms camera...
An online coding platform

Ancient Brain is an online coding and hosting platform for everyone.
See About and List of features.


Coders: Make 3D worlds and share them with friends. Clone and edit other people's worlds. Make touch mobile games. Embed your worlds on other sites.
Teachers: Run courses in coding and coding for kids and AI coding. Run programming practicals in 3D or 2D or text, with many features designed for teachers. Safely edit and run student code.
Learners: Do courses in coding and coding for kids and AI coding. Clone other people's worlds and change one or two lines. What's the worst that could happen?
Gamers: Play the endless game worlds the coders make. Come and browse an ever-growing archive of games.
Researchers: Upload problems, tender for solutions, test and rank them. Make hybrid AI systems from the code of multiple authors.
Enough talk. Show me a video!

OK, here is a high-level introduction.
This does not assume you have ever coded, or ever heard of JavaScript graphics.

How to code
You can run the games and "worlds" by clicking on them. But this is also a coding site, where you can code your own games and worlds. You can use this site to learn to code. Or show off your creations if you are an experienced coder.
Click below to learn how to code. There is a choice of "libraries" that you can use. Skip the intro, let us decide the library, and go straight to the starter video tutorial:
Random Worlds

Here are some random Worlds that have had more than 10 runs.

Denis Craft(main...
1235 runs ♦ 0 likes
By Denis Atkinson  
Created: 6 Dec 2016
Modified: 10 Feb 2018
One Cube (P5) (...
16 runs ♦ 0 likes
By 09syeda  
Created: 13 May 2019
Modified: 13 May 2019
Clone of "One Cube World (P5)" by Starter user
water
26 runs ♦ 0 likes
By Mathias Bazin  
Created: 4 Jul 2018
Modified: 6 Jul 2018
New World. Starting from scratch.
Cloned Cloned CA...
77 runs ♦ 0 likes
By Shan Mulgrew  
Created: 12 Nov 2018
Modified: 19 Nov 2018
Clone of "Cloned CA318 2018 World" by cdaly
test2 world syng...
18 runs ♦ 0 likes
By test2  
Created: 4 May 2018
Modified: 4 May 2018
Breadth-first se...
22 runs ♦ 0 likes
By Marko  
Created: 28 Oct 2019
Modified: 28 Oct 2019
Breadth-first search visualization
One Cube World (...
40 runs ♦ 0 likes
By Stratford College 6  
Created: 14 Nov 2019
Modified: 14 Nov 2019
Clone of "One Cube World (P5)" by Starter user
P5 test preserv...
17 runs ♦ 0 likes
By Mathias Bazin  
Created: 27 Jun 2018
Modified: 10 May 2019
Clone of "P5 test" by Mathias Bazin
Binary tree
235 runs ♦ 0 likes
By Jorge Blanco  
Created: 18 Oct 2019
Modified: 18 Oct 2019
Build the tree as search it
super smooth FPV...
11 runs ♦ 0 likes
By James Humphrys  
Created: 26 Feb 2017
Modified: 10 Feb 2018
2.88 Speed updat...
39 runs ♦ 0 likes
By Mikey Dowling  
Created: 8 Mar 2019
Modified: 8 Mar 2019
Clone of "2.86 buggy ai base fix" by tuitef2
Cloned Pacman In...
14 runs ♦ 0 likes
By Simon Lowry  
Created: 11 Dec 2016
Modified: 10 Feb 2018
Breadth-first se...
173 runs ♦ 0 likes
By K.Ellis  
Created: 18 Oct 2019
Modified: 19 Oct 2019
Clone of "Breadth-first search (Kevin Bacon)" by "Coding Train" project
Tutorial 7.7
11 runs ♦ 0 likes
By "Coding Train" p...  
Created: 5 Sep 2018
Modified: 5 Sep 2018
Object Communication Part 2
Day/Night cycle
63 runs ♦ 0 likes
By Mathias Bazin  
Created: 20 Jun 2018
Modified: 10 May 2019
It's day then it's night the it's day again
v0.4 Pool Predic...
50 runs ♦ 0 likes
By Ian Gilligan  
Created: 5 Feb 2019
Modified: 5 Feb 2019
Clone of "v0.3 Pool Predictor Prototype" by lillisl2
First Person Con...
12 runs ♦ 0 likes
By Mathias Bazin  
Created: 19 Jun 2018
Modified: 10 May 2019
Clone of "First Person Controls" by Mathias Bazin
Tutorial 1.6
26 runs ♦ 0 likes
By "Coding Train" p...  
Created: 6 Sep 2018
Modified: 6 Sep 2018
Code Comments
2. Register, Clo...
339 runs ♦ 0 likes
By Alex Murphy  
Created: 25 Mar 2019
Modified: 8 Jun 2019
"JS programming for kids" course. You need to register an account in order to Clone and Edit Worlds.
6. If/Else State...
158 runs ♦ 0 likes
By Alex Murphy  
Created: 29 Apr 2019
Modified: 8 Jun 2019
JavaScript If/Else Statements
Cloned Complex World
43 runs ♦ 0 likes
By Rachel Solomon  
Created: 2 Dec 2016
Modified: 10 Feb 2018
Improved Doodle ...
240 runs ♦ 0 likes
By Michael Ryan  
Created: 8 Dec 2019
Modified: 12 Dec 2019
Using a trained convolutional neural network, attempt to recognise handwritten doodles
Binary tree (clo...
113 runs ♦ 0 likes
By Brendan  
Created: 16 Oct 2019
Modified: 16 Oct 2019
Clone of "Binary tree" by "Coding Train" project
Tutorial 18.7
269 runs ♦ 0 likes
By "Coding Train" p...  
Created: 9 Sep 2018
Modified: 11 Sep 2018
Tutorial 18.7 with full canvas, resized model, sound. Texture on box is image from another user.
A star (clone by...
28 runs ♦ 0 likes
By David Kiernan  
Created: 3 Nov 2019
Modified: 4 Nov 2019
Clone of "A star" by "Coding Train" project
Cloned CA318 201...
55 runs ♦ 0 likes
By Joe Rathborne  
Created: 18 Nov 2018
Modified: 19 Nov 2018
Clone of "CA318 2018 World" by Mark Humphrys
Coding Challenge 1
61 runs ♦ 2 likes
By "Coding Train" p...  
Created: 13 Aug 2018
Modified: 4 Sep 2018
Starfield
Brexit Agreement...
113 runs ♦ 0 likes
By Avril Hayden  
Created: 28 Oct 2019
Modified: 6 Nov 2019
Donald Tusk finds the shortest path to Boris Johnson to get a Brexit deal, with only the houses ...
test
11 runs ♦ 0 likes
By Simone124343  
Created: 11 Jun 2018
Modified: 11 Jun 2018
test
test
20 runs ♦ 0 likes
By James Humphrys  
Created: 4 Dec 2016
Modified: 10 Feb 2018
friday pacman world
15 runs ♦ 0 likes
By test2  
Created: 25 May 2018
Modified: 25 May 2018
Clone of "Complex World" by Starter user
GA (TSP) (clone ...
13 runs ♦ 0 likes
By Jorge Blanco  
Created: 22 Nov 2019
Modified: 22 Nov 2019
Clone of "GA (TSP) (clone by Jorge Blanco)" by Jorge Blanco
Cloned One Cube ...
30 runs ♦ 0 likes
By jhegarty  
Created: 30 Nov 2018
Modified: 30 Nov 2018
Clone of "One Cube World (P5)" by Starter user
v0.98 Pool Predi...
204 runs ♦ 0 likes
By Ian Gilligan  
Created: 28 Feb 2019
Modified: 1 Mar 2019
Clone of "v0.97 Pool Predictor Prototype" by lillisl2
New World
17 runs ♦ 0 likes
By c  
Created: 29 Jun 2018
Modified: 29 Jun 2018
New World. Starting from scratch.
Cloned Model World
32 runs ♦ 0 likes
By Sean Hutchinson  
Created: 8 Nov 2016
Modified: 10 Feb 2018
XOR multi-layer ...
612 runs ♦ 0 likes
By K.Ellis  
Created: 6 Dec 2019
Modified: 7 Dec 2019
Clone of "XOR multi-layer network" by "Coding Train" project
<b> Complex Worl...
48 runs ♦ 0 likes
By Ray Walshe  
Created: 18 Oct 2016
Modified: 10 Feb 2018
P5 Mouse tracker
158 runs ♦ 1 like
By Starter user  
Created: 4 Jul 2018
Modified: 12 Dec 2019
Example of P5 World integrated with AB framework. Desktop: Draw ellipse wherever the mouse hover...
beep complex two3
365 runs ♦ 0 likes
By test  
Created: 12 Oct 2017
Modified: 27 Feb 2019


The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

© Ancient Brain Ltd. 2018-19. All rights reserved.

Ancient Brain ™ is a trademark of Ancient Brain Ltd.

Platforms      Stats      The name      Terms and conditions

Bug bounty      Classes in Dublin      Contact

Call for partners!
If you are interested in writing a programming course or textbook, Ancient Brain is looking for partners. We will work with you, and integrate your course into the site. This is an opportunity for someone looking to develop a course or textbook to partner with a site to support it and promote it.