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

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

14 countries    1,209 coders    2,008 worlds    128,077 runs    0.7 million lines of code    Update stats

Tutorial 18.7
253 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.
3D for Kids Worl...
94 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 20 Aug 2019
Example of plain Three.js API. Porting a World unchanged. From "3D Game Programming for Kids"
GA (TSP)
222 runs ♦ 0 likes
By "Coding Train" p...  
Created: 24 Jun 2019
Modified: 25 Jun 2019
Port of GA (TSP) by "Coding Train" project
The Game of Life
169 runs ♦ 0 likes
By Enhanced  
Created: 9 Jul 2018
Modified: 19 Jul 2018
The famous Game of Life. Click on the screen to place the initial cells and then click start ! ...
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.

First Person Con...
60 runs ♦ 0 likes
By Mathias Bazin  
Created: 13 Jun 2018
Modified: 10 May 2019
First person view with mouse controls. Use WASD or Arrows to move, mouse to look around and spac...
Football Model World
731 runs ♦ 0 likes
By Kieran Turgoose  
Created: 5 Dec 2016
Modified: 10 Feb 2018
MINECRAFT
47 runs ♦ 0 likes
By James Humphrys  
Created: 15 Jan 2017
Modified: 10 Feb 2018
Sushi
19 runs ♦ 0 likes
By Mathias Bazin  
Created: 29 May 2018
Modified: 29 May 2018
Clone of "Sushi" by Mathias Bazin
Cloned Simple W...
362 runs ♦ 0 likes
By Victoria  
Created: 16 Nov 2016
Modified: 10 Feb 2018
Infinite World O...
45 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
Game of Crowns s...
104 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
totally new Blan...
65 runs ♦ 1 like
By tom  
Created: 5 Mar 2017
Modified: 10 Feb 2018
crazy world
34 runs ♦ 0 likes
By simon  
Created: 23 Oct 2016
Modified: 10 Feb 2018
P5 on canvas
31 runs ♦ 0 likes
By test  
Created: 2 Jul 2018
Modified: 4 Jul 2018
Experiment using P5 on "canvas" API. Loads remote P5 library. Can use either draw or nextStep fo...
tuitef2 World ne...
23 runs ♦ 0 likes
By tuitef2  
Created: 10 Mar 2019
Modified: 11 Mar 2019
Clone of "World needs debugging 2.9" by Mikey Dowling
Egg Stealer
712 runs ♦ 0 likes
By Ina Mari Fe Pondoc  
Created: 19 Nov 2016
Modified: 10 Feb 2018
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...
One Cube World (...
11 runs ♦ 0 likes
By DIT Festival of ...  
Created: 13 Jun 2019
Modified: 13 Jun 2019
Clone of "One Cube World (P5)" by Starter user
Pacxon
2063 runs ♦ 0 likes
By Christopher Durning  
Created: 13 Nov 2016
Modified: 10 Feb 2018
Tutorial 1.6
25 runs ♦ 0 likes
By "Coding Train" p...  
Created: 6 Sep 2018
Modified: 6 Sep 2018
Code Comments
Capturetheflag
214 runs ♦ 0 likes
By tuitef2  
Created: 19 Feb 2019
Modified: 25 Feb 2019
Cloned Complex World
42 runs ♦ 0 likes
By Rachel Solomon  
Created: 2 Dec 2016
Modified: 10 Feb 2018
One Cube World (...
16 runs ♦ 0 likes
By neha bashir  
Created: 13 May 2019
Modified: 13 May 2019
Clone of "One Cube World (P5)" by Starter user
EcoSystem World
58 runs ♦ 0 likes
By Kai Bergmann  
Created: 9 Dec 2016
Modified: 10 Feb 2018
Bouncy Balls (cl...
11 runs ♦ 0 likes
By ca400test 1  
Created: 19 May 2019
Modified: 19 May 2019
Clone of "Bouncy Balls" by Alex Murphy
Lesson 2
21 runs ♦ 0 likes
By Lilly Wiseman  
Created: 20 May 2019
Modified: 20 May 2019
Variables and Comments
Plain canvas web...
36 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 20 Aug 2019
Example of porting webgl World (almost) unchanged to AB using plain canvas API
World View (Task...
13 runs ♦ 0 likes
By CA400_tst1  
Created: 6 May 2019
Modified: 6 May 2019
Clone of "World View (Task)" by Alex Murphy
Cloned One Cube ...
32 runs ♦ 0 likes
By CaseyMahon  
Created: 9 May 2018
Modified: 9 May 2018
Big Cola Cube ini
11 runs ♦ 0 likes
By Cameron HJ1 1  
Created: 13 May 2019
Modified: 13 May 2019
Its a large saucy cola cube
unknow
35 runs ♦ 0 likes
By Samuel  
Created: 4 May 2018
Modified: 4 May 2018
3MF demo
28 runs ♦ 0 likes
By Mark Humphrys  
Created: 17 Jan 2019
Modified: 24 Mar 2019
Attempt to load 3MF model. Not working yet.
Chess
55 runs ♦ 0 likes
By Mathias Bazin  
Created: 24 Jul 2018
Modified: 10 May 2019
Chess using chess.js. Plays a random game
Cloned Smooth FP...
24 runs ♦ 0 likes
By Ray Walshe  
Created: 15 Sep 2017
Modified: 10 Feb 2018
Cloned Infinite ...
25 runs ♦ 0 likes
By test  
Created: 10 Aug 2018
Modified: 10 Aug 2018
Clone of "Infinite World - V1" by Nathan Bonnard
Minecraft Builder
120 runs ♦ 0 likes
By Enhanced  
Created: 5 Jun 2018
Modified: 21 Jun 2018
Build your own worlds. Enhanced version of the Minecraft starter world with added control and co...
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
One Cube World (...
11 runs ♦ 0 likes
By Rebecca  
Created: 13 May 2019
Modified: 13 May 2019
Clone of "One Cube World (P5)" by Starter user
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
Snow world
323 runs ♦ 0 likes
By James Humphrys  
Created: 16 Oct 2016
Modified: 10 Feb 2018
Enhanced Space Pong
115 runs ♦ 0 likes
By Enhanced  
Created: 18 Jun 2018
Modified: 10 May 2019
It's all you want from Pong : smooth controls, different difficulty levels and game modes
Sun
60 runs ♦ 0 likes
By Enhanced  
Created: 15 Aug 2018
Modified: 16 Aug 2018
Here is a prototype of a sun object that you can copy to your world !
v0.6 Pool Predic...
81 runs ♦ 0 likes
By Ian Gilligan  
Created: 16 Feb 2019
Modified: 18 Feb 2019
Clone of "v0.5 Pool Predictor Prototype" by Ian Gilligan
Cloned Cloned Po...
40 runs ♦ 0 likes
By lillisl2  
Created: 30 Jan 2019
Modified: 30 Jan 2019
Clone of "Cloned Pool Predictor Prototype" by Ian Gilligan


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.