Skip to content

This program is a simulation between C3P0 and other beings or objects. Each being or object has a mood state which will be altered dependent on the type of message they receive. Their mood also changes which type of message they say. The

Notifications You must be signed in to change notification settings

StevenGonzalez/C3P0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

C3P0

Author: Steven Gonzalez

Last modified: 4/2/16

Made for a university class project.

Program: C3P0 Description: This program is a simulation between C3P0 and other beings or objects. Each generation of the simulation starts with C3P0 introducing himself to the object along with a message that is directly dependant on his current mood state and the type of obect he is (Robot). The object C3P0 introduced himself to then intoduces itself with a message dependant on it's current mood and type (Robot, Person, Computer, Inanimate Object, Spaceship). If the message is happy, C3P0's mood goes up. If it's sad his mood goes down. If it's neutral, it will randomly choose to go up or down slightly. Simulation ends when C3P0's state has either reached 0, 100 or if 1,000 generations have passed.

About

This program is a simulation between C3P0 and other beings or objects. Each being or object has a mood state which will be altered dependent on the type of message they receive. Their mood also changes which type of message they say. The

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages