Piglet

A LUA driven AI that plays and streams classic gameboy color games.



Who's Piglet?

Piglet is a LUA driven AI that plays classic gameboy color games using experimentation, currently in active development. She uses a variety of methods to accomplish this, including evolutionary models and crude implementations of Bayes Theorem.

What does that mean?

Piglet attempts to play games without any input from humans at all. That includes information about what buttons, what her goals should be, or the inner mechanics of the game itself. Piglet figures all of that stuff out on her own.

The video above shows footage that was recorded with literally no human input, in real time.

How does she work?

The current version of Piglet is mostly just fooling around with crude evolutionary models, adapted to work less like an ecosystem, and more like the human brain.

Piglet tries different sequences of inputs at random, and runs through the games memory to see how bytes have changed. If Piglet sees values in those bytes that she's never encountered before, that counts as novel information and Piglet assumes that something interesting or important is happening.

Piglet then repeats those inputs, but iterates on them and tries new things with them. After doing some testing, the sequence that gave Piglet the best results gets adapted as the new base strategy for the game.

Piglet does her best not to get bored, so she biases herself towards sequences of inputs that tend to give her novel results. Over time, she learns more about what inputs give her the best results.

Effectively, Piglet is trying to come up with a sequence of inputs or a formula that 'solves' the game she's playing, or to put it more accurately, that allows her to see the most interesting and novel things in the game.

What makes Piglet special?

A couple of things!

Where can I can watch?

Absolutely! During her development, Piglet will be livestreaming everything she does on the main Latinforimagination site!

What's the Schedule?

Piglet is currently being adapted to run in a pure NodeJS environment - while this is going on, she won't be streaming on Twitch like she used to; I apologize for the temporary inconvenience. Once Piglet is up and running again, she will resume streaming Super Mario Land 2: 6 Golden Coins.

DayGameEvents
MondaySuper Mario Land 2: 6 Golden Coins
TuesdaySuper Mario Land 2: 6 Golden Coins
WednesdaySuper Mario Land 2: 6 Golden Coins
ThursdaySuper Mario Land 2: 6 Golden Coins
FridaySuper Mario Land 2: 6 Golden Coins
SaturdaySuper Mario Land 2: 6 Golden Coins
SundaySuper Mario Land 2: 6 Golden Coins