AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7408

AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7408

Channel:
Subscribers:
24
Published on ● Video Link: https://www.youtube.com/watch?v=0FA-tAXJq40



Game:
Duration: 1:06
20 views
0


So this is my stream of my PC running a Bizhawk emulator with Hudson's Adventure Island (NES) and some AI logic which is still in development. It is very crude right now: not only does it not recognize the ground so it can't finish the fourth level, the resolution is also bad and the network/map still needs a lot of tweaking.

But while I work out the details I thought it would be interesting to have it run and see how good (or bad) this goes and if it can get as far as the pits.

The AI is written in Lua and is basically a modified version of MarI/O: https://github.com/pakoito/MarI-O

All credits go to SethBling ( http://sethbling.com/ & https://www.youtube.com/channel/UC8aG3LDTDwNR1UQhSn9uVrw ). While I have a very very basic understanding of neural networks and the associated algorithms, I know shit all about implementing them. This gave me a chance to headstart into doing things without having to worry (yet) about some of the details.

The AI is basically an implementation of the NEAT or "NeuroEvolution of Augmenting Topologies" method, described in this paper: http://nn.cs.utexas.edu/downloads/papers/stanley.ec02.pdf
It is basically a neural network which employs a self-evolving topology (the way neurons are connected) instead of a more traditional fixed topology. It uses a genetic alghorithm where not only the weights within the network, but the topology itself is part of the species. Some random specifics:

- Fitness is (lazily) calculated based on the Y position of the sprite on the left showing progress through the level
- Input is based on the grid you see overlayed. Values are based on the X/Y positions of "enemies" (value -1, black) or the side of the road (value 1, white), as read from memory
- Timeout is based on actually not progressing. Failure is based on fuel = 0. Actually finishing a level hasn't been implemented yet
- Software is Bizhawk, and its awesome. It lets you read and analyze RAM, vital to get the necessary variables for calculating the input map




Other Videos By LiquidjeNL


2020-04-30DiRT Rally 2.0 Mount Kaye Pass Reverse, Mitsubishi Lancer Evo X, 8:00.985
2020-04-21DiRT Rally 2.0 Ocean Beach, Fiat 131 Abarth, 9:01.047
2020-04-21DiRT Rally 2.0 Ocean Beach, Fiat 131 Abarth, 8:52.041
2019-05-28Car automation game - second build
2019-05-21Car automation game - First build
2019-01-25AI playing Hudson's Adventure Island (NES) using NEAT - try 2
2019-01-24AI playing Hudson's Adventure Island (NES) using NEAT - try 2 - fitness 875 (max 920)
2019-01-22AI playing Hudson's Adventure Island (NES) using NEAT - try 2 - max fitness 667
2019-01-21AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7938 normal speed
2019-01-20AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7937
2019-01-20AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7408
2019-01-20AI playing Hudson's Adventure Island (NES) using NEAT - try 1 - max fitness 7180
2018-06-29AI playing Road Fighter (NES) using NEAT - fitness 132
2018-06-29AI playing Road Fighter (NES) using NEAT - fitness 128
2018-05-30Tetris 3D / Block Out clone in UE4 prototype
2015-02-13LiquidBunny plays Payday 2: #4 Night club - Efficiëntie
2015-02-13LiquidBunny plays Payday 2: #2 Go bank - Chaos
2015-02-13LiquidBunny plays Payday 2: #3 Shadow raid - De 'perfecte' gear
2015-02-12LiquidBunny plays Payday 2: #1 Diamond store - De fijne kneepjes
2015-01-22Infinifactory - How conflicting conveyor belt directions are resolved
2015-01-21Infinifactory - solution - Resource Site 526.81, Small Excavator



Other Statistics

Adventure Island Statistics For LiquidjeNL

At this time, LiquidjeNL has 178 views for Adventure Island spread across 7 videos. His channel published less than an hour of Adventure Island content, roughly 1.20% of the content that LiquidjeNL has uploaded to YouTube.