A ruby food chain simulator utilizing gosu gem for visual feedback
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
binaries/1.2
entities
Cursor.png
README.md
foodchain.rb
utils.rb
vectors.rb

README.md

Ruby Food Chain

Features

  • Simulation of beings within closed 2D System.
  • Genetic algorithms to determine children stats
  • 4 Type Food Chain:
    • Parasites
    • Predators
    • Plants
    • Prey
  • Left Click to add predators
  • Right Click to add prey

Functionality

  • Parasites Passively Feed on Living Entities
  • Plants Passively Feed on Decaying Entities
  • Herbivores Actively Feed On Plants
  • Predators Actively Feed On Prey

Requirements

  • Ruby: 2.0.0 (May not be required, but used 2.0.0 for development)
  • Gem: Gosu

Usage

	$> ruby foodchain.rb

Binaries

Windows binaries compiled using the ocra gem can be found here: https://github.com/n33kos/foodchain/tree/master/binaries