This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

trimil
trimil presents ...

2014/6/28

Breed Frogs (Inspired by Natural Selection by Mik)

This is a game in which the player has to hatch frogs, breed them, and in the process, create frogs of their very own desire.

When you start, there will be some frog eggs on the screen that you can drag around. Double click on them to hatch them. Once they are hatched, you can breed them by placing one on top of the other, and double-clicking. When they breed, the new egg will appear in the top left yellowish corner (called the nursery). The new frog's color will be the average of its parent's colors, plus a random offset.

If you don't like a frog, drag it to the trash can in the lower right-hand corner. Be careful, because eggs will die after 20 minutes and, once hatched, frogs will die after 7.5 minutes. If no frogs or eggs are left, the game is over.

Every 1.5 minutes, you may create a custom frog. You do this by clicking on the nursery, and entering the Red, Green, and Blue values in the dialog boxes. The new frog will appear in the nursery. If you right-click on a frog, you can see it's R, G, and B components.

Oh - and yes - if you click on a frog, it Ribbits!

But the most important thing to remember is, HAVE FUN!!

3042 views / 7 in the last 7 days

Tags: mouse game color frog images colors frogs ribbit rgb breeding

This scenario is a member of: Natural Selection


open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Sat Jun 28 21:50:56 UTC 2014 Improved Class and Method comments.
A new version of this scenario was uploaded on Sat Jun 28 22:11:04 UTC 2014 Improved Class and Method comments.
trimiltrimil

2014/6/28

Made mistake in last update, meant to say "Added source" :)!
A new version of this scenario was uploaded on Tue Jul 01 19:08:29 UTC 2014 Minor bug fixes
A new version of this scenario was uploaded on Tue Jul 01 19:29:07 UTC 2014 Split act method of Frog

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.