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

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

13 countries    1,192 coders    2,008 worlds    127,619 runs    0.7 million lines of code    Update stats

MineCraft
609 runs ♦ 2 likes
By Starter user  
Created: 27 Nov 2016
Modified: 17 Jul 2019
Use keyboard to draw blocks like in MineCraft. Use arrow keys and PgUp, PgDn to draw. Can save w...
Infinite World O...
43 runs ♦ 0 likes
By Enhanced  
Created: 16 Aug 2018
Modified: 17 Aug 2018
Here is a code to get an infinite world that loop without object in it, without the sun
Pacman In Space
1460 runs ♦ 0 likes
By Simon Lowry  
Created: 16 Nov 2016
Modified: 10 Feb 2018
Spider Paradise ...
640 runs ♦ 2 likes
By Aisling Casserly  
Created: 8 Dec 2016
Modified: 10 Feb 2018
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 programming practicals in 3D or 2D or text, with many features designed for teachers. Safely edit and run student code.
Researchers: Upload problems, tender for solutions, test and rank them. Make hybrid AI systems from the code of multiple authors.
Gamers: Play the endless game worlds the coders make. Come and browse an ever-growing archive of games.
Learners: Clone other people's worlds and change one or two lines. What's the worst that could happen?
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 tutorial:
Random Worlds

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

Snow world
323 runs ♦ 0 likes
By James Humphrys  
Created: 16 Oct 2016
Modified: 10 Feb 2018
One Cube World (...
24 runs ♦ 0 likes
By DIT Festival of ...  
Created: 7 Jun 2019
Modified: 7 Jun 2019
Clone of "One Cube World (P5)" by Starter user
.....
24 runs ♦ 0 likes
By DIT Festival of ...  
Created: 7 Jun 2019
Modified: 7 Jun 2019
Clone of "One Cube World (P5)" by Starter user
test2 copy
14 runs ♦ 0 likes
By test2  
Created: 4 May 2018
Modified: 4 May 2018
10SHIFT
38 runs ♦ 0 likes
By Jamie Hyland  
Created: 12 Nov 2018
Modified: 12 Nov 2018
totally new Blan...
65 runs ♦ 1 like
By tom  
Created: 5 Mar 2017
Modified: 10 Feb 2018
The universe
80 runs ♦ 0 likes
By James Humphrys  
Created: 26 Nov 2016
Modified: 10 Feb 2018
Plain canvas web...
30 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 17 Jul 2019
Example of porting webgl World (almost) unchanged to AB using plain canvas API
Stop The Pigeon ...
259 runs ♦ 0 likes
By Amy Leitch  
Created: 7 Dec 2016
Modified: 10 Feb 2018
ICR
12 runs ♦ 0 likes
By Co  
Created: 5 Nov 2018
Modified: 6 Nov 2018
Clone of "One Cube World" by Starter user
SpaceHero
569 runs ♦ 2 likes
By Ross Franey  
Created: 26 Oct 2016
Modified: 10 Feb 2018
Cloned One Cube ...
23 runs ♦ 0 likes
By test2  
Created: 11 Jan 2019
Modified: 11 Jan 2019
Clone of "One Cube World (P5)" by Starter user
<b> Complex Worl...
45 runs ♦ 0 likes
By Ray Walshe  
Created: 18 Oct 2016
Modified: 10 Feb 2018
3. Making an Avatar
62 runs ♦ 0 likes
By "3D Game Program...  
Created: 16 Aug 2018
Modified: 24 Mar 2019
Port of code "building_an_avatar" from Ch.3
v0.47 laggy Pool...
53 runs ♦ 0 likes
By lillisl2  
Created: 11 Feb 2019
Modified: 12 Feb 2019
Clone of "lillisl2 v0.45 Pool Predictor Prototype" by lillisl2
2D Perlin noise ...
25 runs ♦ 0 likes
By Mathias Bazin  
Created: 19 Jul 2018
Modified: 23 Jul 2018
Nice visuals
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
Car models with ...
369 runs ♦ 0 likes
By Port of threejs....  
Created: 13 Sep 2018
Modified: 24 Mar 2019
Car bodywork reflects images from skybox. Click buttons to change model and bodywork. Mouse to m...
Blank Three.js World
828 runs ♦ 2 likes
By Starter user  
Created: 20 Nov 2016
Modified: 17 Jul 2019
A simple starter World. An Array of spheres. Painted with textures. Random motion.
Updated food 10
100 runs ♦ 0 likes
By Mikey Dowling  
Created: 11 Feb 2019
Modified: 19 Feb 2019
Clone of "captureTheFlag" by tuitef2
No Grid Enhanced...
59 runs ♦ 0 likes
By Mathias Bazin  
Created: 15 Jun 2018
Modified: 21 Jun 2018
get rid of the grid
CELLS WITH MIND ...
71 runs ♦ 0 likes
By SinfulSalad  
Created: 5 Jul 2018
Modified: 10 Jul 2018
Clone of "CELLS WITH MIND" by SinfulSalad
Cloned One Cube ...
13 runs ♦ 0 likes
By Dara O Connell  
Created: 26 Nov 2018
Modified: 26 Nov 2018
Clone of "One Cube World (P5)" by Starter user
new graphics
278 runs ♦ 0 likes
By tuitef2  
Created: 25 Feb 2019
Modified: 12 Mar 2019
Cloned One Cube ...
19 runs ♦ 0 likes
By TadghNQT  
Created: 24 Jan 2019
Modified: 24 Jan 2019
Clone of "One Cube World (P5)" by Starter user
Perceptron
81 runs ♦ 0 likes
By "Coding Train" p...  
Created: 26 Jun 2019
Modified: 26 Jun 2019
Port of Perceptron from the "Coding Train"
friday pacman world
15 runs ♦ 0 likes
By test2  
Created: 25 May 2018
Modified: 25 May 2018
Clone of "Complex World" by Starter user
Scare the Fishes
65 runs ♦ 0 likes
By Mathias Bazin  
Created: 23 Jul 2018
Modified: 2 Aug 2018
Scare the fishes with your mouse ! If you click they will flee even further away. Includes tweak...
Cloned CA318 201...
80 runs ♦ 0 likes
By Liamooc  
Created: 5 Nov 2018
Modified: 19 Nov 2018
Clone of "CA318 2018 World" by test
family guy likes...
18 runs ♦ 0 likes
By DIT Festival of ...  
Created: 7 Jun 2019
Modified: 7 Jun 2019
family guy is cool and so is peppa pig
Bot Following Fo...
52 runs ♦ 0 likes
By Mikey Dowling  
Created: 7 Mar 2019
Modified: 7 Mar 2019
Bot Follows Food, Follows Player, Different Camera Views implemented
Cloned ca318 cop...
17 runs ♦ 0 likes
By stephas2  
Created: 5 Nov 2018
Modified: 18 Nov 2018
Clone of "ca318 copy Complex World" by test3
<img src=x onerr...
26 runs ♦ 1 like
By "onclick=alert(...  
Created: 29 Mar 2018
Modified: 29 Mar 2018
Deliverable Week 7&8
56 runs ♦ 0 likes
By cam  
Created: 11 Nov 2018
Modified: 13 Nov 2018
Christmas Themed Pacman
Tutorial World
14 runs ♦ 0 likes
By Lazarus  
Created: 6 Nov 2018
Modified: 7 Nov 2018
MY TUTORIAL
sharon dragonballz
14 runs ♦ 0 likes
By DIT Festival of ...  
Created: 13 Jun 2019
Modified: 14 Jun 2019
Clone of "One Cube World (P5)" by Starter user
pacman moves in ...
109 runs ♦ 1 like
By tom  
Created: 23 Oct 2016
Modified: 10 Feb 2018
Game of Crowns s...
102 runs ♦ 0 likes
By Enhanced  
Created: 21 Jun 2018
Modified: 27 Aug 2018
Enhanced version of "Game of Crowns" by Niamh Byrne with better graphics and controls
Cloned Blank Thr...
21 runs ♦ 0 likes
By James Humphrys  
Created: 2 Apr 2018
Modified: 2 Apr 2018
Cloned One Cube ...
17 runs ♦ 0 likes
By shane  
Created: 26 Nov 2018
Modified: 26 Nov 2018
Clone of "One Cube World (P5)" by Starter user


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.