Skip to content
A simple instance of Genetic Programming I did for our Artificial Intelligence class.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ItWorks.gif
README.md
main.go

README.md

This project was a super simple implementation of genetic programming that I created for ETGG4803: Artificial Intelligence. The Golang code handles the genetic programming, as it generates Lisp code. The Golang also runs a simulation of a box in a rectangular area. The controller executes the Lisp code every step, and the output of that code determines how the box moves. The goal is for the box to touch every tile in the rectangular area.

The code is definitely not elegant, it is admittedly pretty thrown together. However, the program has successfully evolved in as few as 17 generations!

You can’t perform that action at this time.