not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
D. Joe 397f3b2e88 Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
..
activity Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
audio Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
enyo Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
images Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
lib Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
po Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
COPYING Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
LICENSE Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
README.md Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
app.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
audio.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
buildgame.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
card.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
chain.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
credits.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
index.html Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
l10n.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
learngame.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
locale.ini Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
network.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
package.json Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
playgame.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
setup.py Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
shadowbutton.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
sprite.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
styles.css Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
timer.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago
util.js Add all files created from a shallow clone of llaske/sugarizer at the following commit: 4 years ago

README.md

What is FoodChain ?

FoodChain is an activity for Sugar.
FoodChain is pedagogical game allowing to learn name of animals (word and sound) and princip of food chains: who eat what ? who eat who ?
The activity is composed of 3 little games with 20 levels of growing complexity.
First game objective is to class cards of animals depending of their food regim (herbivore, carnivore, omnivore).
Second game objectif is to order cards of animals/food in the order of who eat who. For example: Snake -eat-> Frog -eat-> Flies.
Third game is an arcade game. You handle a frog and you need to eat flies avoiding being eaten by snakes and hitting rocks.

How it works ?

FoodChain is wrote mainly in HTML5/JavaScript using the Sugar Web Framework and the Enyo Framework.

Folders

All the HTML5/JavaScript is in this directory.

  • index.html is the HTML container
  • styles.css contains all CSS class used
  • package.js list all javascript files to load
  • app.js is the main screen
  • learngame.js is the first game
  • buildgame.js is the second game
  • playgame.js is the third game
  • credits.js is the credit screen
  • all other .js files are component used by the games

/activity

Contains the Sugar manifest manifest to describe the activity.

/js

Contains entry point.

/enyo and /lib

Contains the JavaScript Framework.

/audio

Contains all music and sound files.

/images

Contains all images.

/css

Styles sheet for different platforms.