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.

51 lines
1.4 KiB

  1. # What is FoodChain ?
  2. FoodChain is an activity for Sugar.
  3. FoodChain is pedagogical game allowing to learn name of animals (word and sound) and princip of food chains: who eat what ? who eat who ?
  4. The activity is composed of 3 little games with 20 levels of growing complexity.
  5. First game objective is to class cards of animals depending of their food regim (herbivore, carnivore, omnivore).
  6. Second game objectif is to order cards of animals/food in the order of who eat who. For example: Snake -eat-> Frog -eat-> Flies.
  7. Third game is an arcade game. You handle a frog and you need to eat flies avoiding being eaten by snakes and hitting rocks.
  8. # How it works ?
  9. FoodChain is wrote mainly in HTML5/JavaScript using the Sugar Web Framework and the Enyo Framework.
  10. # Folders
  11. All the HTML5/JavaScript is in this directory.
  12. * index.html is the HTML container
  13. * styles.css contains all CSS class used
  14. * package.js list all javascript files to load
  15. * app.js is the main screen
  16. * learngame.js is the first game
  17. * buildgame.js is the second game
  18. * playgame.js is the third game
  19. * credits.js is the credit screen
  20. * all other .js files are component used by the games
  21. ## /activity
  22. Contains the Sugar manifest manifest to describe the activity.
  23. # /js
  24. Contains entry point.
  25. ## /enyo and /lib
  26. Contains the JavaScript Framework.
  27. ## /audio
  28. Contains all music and sound files.
  29. ## /images
  30. Contains all images.
  31. ## /css
  32. Styles sheet for different platforms.