genetic-programming-example

Example of genetic programming written in Ruby.

Algorithm tries to find code for word stored under WORD in main.rb. Code can include 3 commands: l - left, p - right, w - print. It iterates through the alphabet and prints proper letters.

To run: ruby main.rb Requirements: colorize gem (gem install colorize) and 'populations' directory