I've created a genetic algorithm that learns to play snake. It scored 123 points

  • 3 Replies
  • 846 Views
*

Madamin_Z

  • Roomba
  • *
  • 2
Hi guys! A few days ago I've created a genetic algorithm that learns to play snake. It took 30 generations to reach 123 points. I used C++ and SFML. Each snake's brain is a neural network.

Here's the video:

Video

*

ivan.moony

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1469
    • contrast-zone
Look at what the Nature managed to do only with a similar genetic production. Though She needed 5.4 billion years up to now. The key point in history was creation of self-duplicating unit. Genetics did the rest.
There exist some rules interwoven within this world. As much as it is a blessing, so much it is a curse.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4385
  • First it wiggles, then it is rewarded.
    • Main Project Thread
So if we release duplicating nanobot cells...we just wait for everything to go fine right? Bad move oh no! Grey goo! Maybe intelligence has to do the rest!? ?O.o?

Those wireless artificial cells will need quicker smarter and more efficient guidance to be safe and have powerful thinking, manipulation, and sensing! They'll do so much at all levels!
Emergent

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 806
  • It's Hip to be Square
Snake is already a solved problem for AI:
https://www.youtube.com/watch?v=kZr8sR9Gwag
Feeling Chatty?
www.mitsuku.com

 


Loebner Prize 2021
by squarebear (AI News )
January 26, 2021, 08:29:08 pm
GTP-3 is bigoted!
by ivan.moony (AI News )
January 22, 2021, 01:47:01 pm
White House Launches National AI Office
by MikeB (AI News )
January 15, 2021, 03:45:53 am
DALL-E text & image 2 image !!!!!
by LOCKSUIT (AI News )
January 06, 2021, 08:14:52 pm
Creating a VR sense of temperature
by frankinstien (AI News )
January 02, 2021, 09:19:51 am
Robots dancing better than us?
by 8pla.net (Robotics News)
December 31, 2020, 05:54:29 am
Bjarne Stroustrup (the creator of C++) talks about Machine Learning
by MikeB (AI News )
December 19, 2020, 12:26:31 pm
Wheels Are Better Than Feet for Legged Robots
by HS (Robotics News)
December 10, 2020, 07:51:29 pm

Users Online

138 Guests, 0 Users

Most Online Today: 159. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles