Skip to content

1410-02S/final-assignment-mckayfawcett

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Review Assignment Due Date # Assignment 3: Evolution Models

Lets call this link a primer for the assignment to come: Why do things exist? Setting the stage for evolution.

This assignment is meant to help you create a base which could be augmented and built on in the future. Whether it be for assignments to come, classes to come (for example AI), or even just for fun (if you think genetic algorithms are fun).

Essentailly, what you will be building here is a world with creature objects in it. This creature object will need to be built in such a way that one day it could move, sense, eat, starve, etc. But to begin with it just needs to be created, die, and reproduce based on preset odds.'

So in terms of proper requirements this assignment must include, in both the UML diagram and code, the following:

  1. At least three classes and/or interfaces (3 total not 3 of each).
  2. At least two relationaships.
  3. A creature class with space for creature attributes and methods (eg. chances of replicating and dying). Required creature specific methods:
    1. die()
    2. reproduce()
  4. A world class with world and environment attributes and methods (eg. chances of spawning new creature without replication). Required World specific methods:
    1. createCreature()
    2. This method might hit the names.txt file in this project to get a random name for your creatures.
    3. spawnFood(), etc.
  5. Support for multiple creatures within the world.
  6. Main loop where these chances are 'rolled' for a number of times in a row.

Please use LucidChart, draw.io, or any other prefered diagramming tool to create your UML diagram.

This assignment will be submitted in two pieces, you will need to create a UML diagram showing how you plan to implement a coded solution to this prompt as well as the actual code. The UML diagram will have a separate due date and submission dropbox within canvas while the code will be submitted here in github.

About

final-assignment-mckayfawcett created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published