HOME | DD

Donitz β€” Neuropony

Published: 2013-11-25 18:14:59 +0000 UTC; Views: 11819; Favourites: 46; Downloads: 137
Redirect to original
Description This month is a literal and figurative nightmare. I needed something to keep myself busy for a while, so I threw this together from some old pony assets I had laying around and a couple of artificial intelligence classes I based on this guide www.ai-junkie.com/ann/evolved/…

A pony in this game has a single chromosome.

Each pony is controlled by their own neural network (a very small very simple artificial brain).

The artificial neural network is wired according to the pony's genes.

The neural network takes input (what does the pony see around it), runs the input through a network of neurons and produces an output (what does the pony do).

The pony with good genes have a higher probability of being selected when producing new chromosomes.

A new chromosome is based on two other chromosomes, mom and dad.

There is a chance that there is a crossover between the two chromosomes (at some point they both flip their genes).

There is a chance that each gene will mutate.

This is artificial evolution according to some very simple rules.
Related content
Comments: 18

monterrang [2018-01-14 16:36:41 +0000 UTC]

how to get all the 117 hearts?

πŸ‘: 0 ⏩: 0

Fulchrum [2017-09-11 06:47:06 +0000 UTC]

After an hour of letting it run with 100% speed, 100% crossover rate, 100% mutation rate, gradually going from 20 ponies and 8 reset timeout to 2 ponies and 50 reset timeout, a single pony can clear half the map.

πŸ‘: 0 ⏩: 0

FullmetalRainbowDash [2015-08-25 02:40:09 +0000 UTC]

I have also decided to dub my second run the ERA OF GREEN HAT JONES THE BALD MANE AND TAILED. He likes green hats, making left turns, and getting stuck in corners. I mean seriously, why are there so many of them? Three out of four of them are Green Hat Jones per run. Once, one of them had a blue hat. And Uncle Pale Wizard Hat John. Red Hat Tick. Purple hat Pierson. Brown Hat Barry I even set the mutation rate to 100% for a while, turned it low, and still had 4 Green Hat Joneses. I added more ponies, and they became the accursed descendants of Green Hat Jones. Oh no, the Joneses are getting Manes and Tails. He has a sister called Green Hat Sarah now. I JUST SET IT TO 100 AND THERE ARE LIKE 80 GREEN HAT JONESES WHAT IS GOING ON IN THE WORLD AAAAAAH! EVEN HIGHER. MAX CROSSOVER AND MUTATION. MIN CROSSOVER MAX MUTATION. MAX CROSSOVER MIN MUTATION. HIGH PONY COUNT, LOW PONY COUNT, NOTHING WORKS.

It started off with 4-8 ponies with 1% cross and mutate with 7 second reset timeout. It results with one pony dominating the genetic pool. The gene pool starts to look like a bar code. Genetic stagnation at it's best. I have doomed an entire subspecies.

πŸ‘: 0 ⏩: 0

FullmetalRainbowDash [2015-08-24 23:45:27 +0000 UTC]

Interesting. I finally slowed down the simulator after refining the genetic pool and found out the ones that get the most hearts are the ones that turn around to look backwards. Since they look backwards, they can take in more of their surroundings for an input to determine an output. I started with high pony count, 50% crossover, 50% mutation, quick reset timeout. I eventually decreased the pony count to 4, crossover to 1%, and mutation to 1%, with 60 seconds to find all the hearts. Unfortunately, they had a bias to turn on a hallway to the right instead of left. Although, if they had a bias to turn left, they would be stuck in a lot of places. If only there was a way to save this.

πŸ‘: 0 ⏩: 0

BlitzProg [2015-04-15 23:34:06 +0000 UTC]

It works very nicely. After some evolution, I've had many ponies taking the strategy to just go forward, and turn left when they hit an obstacle. A few also seems to react to the position of hearts and switch trajectory accordingly - My best pony had time to visit a whole half of the board before finally passing away, scoring 52 hearts out of 90 Β familink.blitzspace.com/db/NEF…

πŸ‘: 0 ⏩: 0

juliannelapuz [2014-08-20 07:30:28 +0000 UTC]

ha lol i put 1012 ponys!!!!!!!

πŸ‘: 0 ⏩: 1

mh3umaster In reply to juliannelapuz [2015-08-13 09:12:46 +0000 UTC]

i put 1200

πŸ‘: 0 ⏩: 0

loopsorspool [2014-04-01 00:49:13 +0000 UTC]

in your opinion what is the best set up for the fastest evolution?

πŸ‘: 0 ⏩: 1

Donitz In reply to loopsorspool [2014-04-01 16:11:08 +0000 UTC]

Use the fastest simulation speed and like 20 ponies in the beginning, then reduce the number of ponies as they get more skilled.

πŸ‘: 0 ⏩: 1

loopsorspool In reply to Donitz [2014-04-01 16:18:58 +0000 UTC]

Thanks! Wasn't actually expecting a reply, especiallyΒ not from the creator of this little game, but this is awesome!

πŸ‘: 0 ⏩: 0

tailsdollcreator [2014-01-08 11:26:57 +0000 UTC]

is there any way of getting this as a screensaver?Β 

πŸ‘: 0 ⏩: 1

Donitz In reply to tailsdollcreator [2014-01-08 13:53:46 +0000 UTC]

There are a few programs which say they can do that, if you Google convert swf into screensaver. Not sure which one I would trust.

πŸ‘: 0 ⏩: 1

tailsdollcreator In reply to Donitz [2014-01-08 21:34:33 +0000 UTC]

knowing my luck... yeah.... not trying it. thanks for the warning!

πŸ‘: 0 ⏩: 0

Alexapoda [2013-12-14 05:30:46 +0000 UTC]

Is there a way we can download it and play with the mutation rate and stuff? :3 I love it! I've had mine running for a couple hours now and some smart ones zoom around collecting hearts! n.n Would it be possible to add a save feature? (if, you know, you have oodles of time on your hands....)

πŸ‘: 0 ⏩: 1

Donitz In reply to Alexapoda [2013-12-14 14:34:13 +0000 UTC]

You can download the source over here dl.dropboxusercontent.com/u/69… , but you can already change most variables in this flash using the arrow keys.

πŸ‘: 0 ⏩: 0

Alexapoda [2013-12-14 05:30:36 +0000 UTC]

Is there a way we can download it and play with the mutation rate and stuff? :3 I love it! I've had mine running for a couple hours now and some smart ones zoom around collecting hearts! n.n Would it be possible to add a save feature? (if, you know, you have oodles of time on your hands....)

πŸ‘: 0 ⏩: 0

Em124 [2013-11-27 14:21:32 +0000 UTC]

Wow, I'm being educated genetics from pastel colored 8 bit My Little Ponies on a pacman board. Nice.

πŸ‘: 0 ⏩: 0

F-Frost [2013-11-25 19:54:45 +0000 UTC]

I did not expect to sit by my computer on a Monday morning, being taught genetics, by ponies.

πŸ‘: 0 ⏩: 0