Food Force 2: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
There are three major aspects of the game:
There are three major aspects of the game:
#Construction of Facilities : Some of the facilities like houses and hospitals are already built at the start of the game. Constructing new facilities such as houses, schools, workshops, farms and wells requires some resources. Once the facilities have been built they start producing appropriate resources and also increase the indicators. Facilities also affect the manpower distribution of the village by providing employment.
#Construction of Facilities : [[Image:FoodForce2_Setup_Window.png|thumb|right|FoodForce2 Setup Window]] Some of the facilities like houses and hospitals are already built at the start of the game. Constructing new facilities such as houses, schools, workshops, farms and wells requires some resources. Once the facilities have been built they start producing appropriate resources and also increase the indicators. Facilities also affect the manpower distribution of the village by providing employment.
#Upgrading Facilities : Once a facility has been built it can be upgraded to produce more resources. Upgrading of facilities uses some of the resources of the village, mainly building material and tools. Various upgrades like brick and mortar, functional upgrades and electricity are provided for each facility. Every upgrade costs resources, but an upgraded facility will be more efficient and effective. Upgrading a facility also increases the value of the indicators
#Upgrading Facilities : [[Image:FoodForce2_Villagers_and_Houses.png|thumb|right|Houses after upgradation]]Once a facility has been built it can be upgraded to produce more resources. Upgrading of facilities uses some of the resources of the village, mainly building material and tools. Various upgrades like brick and mortar, functional upgrades and electricity are provided for each facility. Every upgrade costs resources, but an upgraded facility will be more efficient and effective. Upgrading a facility also increases the value of the indicators
#Trading of Resources : The final cornerstone of the play is trading which is crucial to a village's success. For trading, every village is provided with a market, which is visited by traders from neighbouring villages for trade. The price of the resources is determined by market forces. A village cannot effectively grow without a smart trader, timely trades can give your village a leg-up and help it attain prosperity over time.
#Trading of Resources : [[Image:FoodForce2_Market.png|thumb|right|FoodForce2 Market in the village]]The final cornerstone of the play is trading which is crucial to a village's success. For trading, every village is provided with a market, which is visited by traders from neighbouring villages for trade. The price of the resources is determined by market forces. A village cannot effectively grow without a smart trader, timely trades can give your village a leg-up and help it attain prosperity over time.


All the above features of the game play have been illustrated using an interactive storyboard. The storyboard consists of 8 missions. The first 4 missions aim at teaching the player about how to get started. Once the player has got the knowledge of how to maintain the village, then he is made to face the real challenges. The next four missions expect the player to apply the knowledge he gained from the first four missions to real-life scenarios. There are scenarios like occurence of earthquake, through which disaster management skills are imparted to the player.
All the above features of the game play have been illustrated using an interactive storyboard. The storyboard consists of 8 missions. The first 4 missions aim at teaching the player about how to get started. Once the player has got the knowledge of how to maintain the village, then he is made to face the real challenges. The next four missions expect the player to apply the knowledge he gained from the first four missions to real-life scenarios. There are scenarios like occurence of earthquake, through which disaster management skills are imparted to the player.


We also understand/realized this thing that all the topics of Social Concern cannot be integrated into a single story. Thus we are also working on making a storyboard creator tool for the educators/teachers through which the teachers can create their own storyboard and easily import them into the FoodForce2 game and ask their students to play that storyboard on the FoodForce2 platform. This would provide the teachers with tool/platform through which they can address to any of the social issues they want to focus on.
We also understand/realized this thing that all the topics of Social Concern cannot be integrated into a single story. Thus we are also working on making a storyboard creator tool for the educators/teachers through which the teachers can create their own storyboard and easily import them into the FoodForce2 game and ask their students to play that storyboard on the FoodForce2 platform. This would provide the teachers with tool/platform through which they can address to any of the social issues they want to focus on.

== Game-play ==

The aim of the player is to make a village self-sustenant in terms of nutrition, housing, health, education and training by consistent production and trading of resources with the help of necessary infrastructure. There are three major aspects of the game:
# Construction
# Upgrading
# Trading


=== Construction of Facilities ===

[[Image:FoodForce2_Setup_Window.png|thumb|right|FoodForce2 Setup Window]]

* Some of the facilities like houses and hospitals are already built at the start of the game.
* Constructing new facilities such as houses, schools, workshops, farms and wells requires some resources.
* Once the facilities have been built they start producing appropriate resources and also increase the indicators.
* Facilities also affect the manpower distribution of the village by providing employment.
* Facilities also consume resources for functioning, e.g Hospitals consume medicines.
* If the village doesn't have enough resources to run a facility the facility is temporarily stopped.
** The functioning of the facility resumes when there are enough resources with the village to run it again


=== Upgrading Facilities ===

[[Image:FoodForce2_Villagers_and_Houses.png|thumb|right|Houses after upgradation]]

* Once a facility has been built it can be upgraded to produce more resources.
* Upgrading of facilities uses some of the resources of the village, mainly building material and tools.
* Various upgrades like brick and mortar, functional upgrades and electricity are provided for each facility.
* Every upgrade costs resources, but an upgraded facility will be more efficient and effective.
* Upgrading a facility also increases the value of the indicators


=== Trading of Resources ===

[[Image:FoodForce2_Market.png|thumb|right|FoodForce2 Market in the village]]

* The final cornerstone of play is trading which is crucial to a village's success.
* For trading, every village is provided with a market, which is visited by traders from neighboring villages for trade.
* The price of the resources is determined by market forces.
* A village cannot effectively grow without a smart trader, timely trades can give your village a leg-up and help it attain prosperity over time.



== Implementation ==
== Implementation ==

Revision as of 07:39, 7 May 2009

Foodforce.jpg
Solve world hunger.



FoodForce2

Screenshot

FoodForce 2 has been designed to educate and motivate people to solve world hunger. Since the laptop reaches out to the developing and third-world countries, it also educates children and teachers in a village on how to acheive self sustenance in a fun and non-intrusive way. It also provides awareness about the work WFP has been doing for the past many decades to abate the problem of world hunger.

Since an XO has limited computing power, the game has a relatively smaller footprint as compared to the first version of FoodForce and is aimed at both XOs and Windows.


Building Blocks

The game aims at teaching children lessons on achieving sustainability and self-sustenance. It also provides lessons on Globalisation which are implemented through inter-community interaction. To impart these learning lessons, the game has been modelled around a few key elements or building blocks of the game.

The basic building blocks of the game are :

  1. Facilities: Facilities are installations which serve the villagers. They play a crucial role in functioning and the development of the village. Resources are required for building a facility. Once the facility has been built it consumes certain resources for it's functioning and also produce some resources. Facilities can also be upgraded once they have been built. The different facilities present are: House, Hospital, School, Workshop, Farm and Well.
  2. Resources : Resources form the essence of any community. Resources are required to setup facilities and are also consumed constantly by the people of the village. Resources can be traded for money in the market, which can be later used to buy some other resources. The price of each resource is dependent on the market forces The different resources present are: Building Material, Tools,Medicine ,Books ,Water and Food. Food is further divided into Rice, Wheat, Beans, Sugar, Salt and Oils.
  3. Indicators: Indicators are a measure of the development of the village. They aim at providing a holistic approach towards assesing the development work taking place in the village. The different indicators present are: Housing, Health, Nutrition, Education, Training.

Game Play

The aim of the player is to make a village self-sustenant in terms of nutrition, housing, health, education and training by consistent production and trading of resources with the help of necessary infrastructure. The game currently has a storyboard, which is developed from a viewpoint of an Indian villager, who is the Sarpanch (The administrator of the ruling body, Panchayat, of the village) of a village and his son helps him in the development of the village, who is the next candidate for the position currently held by his father.

There are three major aspects of the game:

  1. Construction of Facilities :
    FoodForce2 Setup Window
    Some of the facilities like houses and hospitals are already built at the start of the game. Constructing new facilities such as houses, schools, workshops, farms and wells requires some resources. Once the facilities have been built they start producing appropriate resources and also increase the indicators. Facilities also affect the manpower distribution of the village by providing employment.
  2. Upgrading Facilities :
    Houses after upgradation
    Once a facility has been built it can be upgraded to produce more resources. Upgrading of facilities uses some of the resources of the village, mainly building material and tools. Various upgrades like brick and mortar, functional upgrades and electricity are provided for each facility. Every upgrade costs resources, but an upgraded facility will be more efficient and effective. Upgrading a facility also increases the value of the indicators
  3. Trading of Resources :
    FoodForce2 Market in the village
    The final cornerstone of the play is trading which is crucial to a village's success. For trading, every village is provided with a market, which is visited by traders from neighbouring villages for trade. The price of the resources is determined by market forces. A village cannot effectively grow without a smart trader, timely trades can give your village a leg-up and help it attain prosperity over time.

All the above features of the game play have been illustrated using an interactive storyboard. The storyboard consists of 8 missions. The first 4 missions aim at teaching the player about how to get started. Once the player has got the knowledge of how to maintain the village, then he is made to face the real challenges. The next four missions expect the player to apply the knowledge he gained from the first four missions to real-life scenarios. There are scenarios like occurence of earthquake, through which disaster management skills are imparted to the player.

We also understand/realized this thing that all the topics of Social Concern cannot be integrated into a single story. Thus we are also working on making a storyboard creator tool for the educators/teachers through which the teachers can create their own storyboard and easily import them into the FoodForce2 game and ask their students to play that storyboard on the FoodForce2 platform. This would provide the teachers with tool/platform through which they can address to any of the social issues they want to focus on.

Implementation

The game has been implemented in Pygame using an MVC (model-view-controller) model.

The model file acts as the file which maintains the records for resources, facilities and indicators. It also maintains the record of manpower distribution.

The controller file acts as a midway between the view and the model, the controller takes the input from the user and makes appropriate changes in the model, and corresponding changes are reflected in the view.

The view file acts as the user interface all, the changes made by the controller are reflected in the view.

The files corres ponding to model, view and controller are:

  • Model : model.py
  • View : Foodforce2.py
  • Controller : threades.py


Features

  1. The game has been designed in Python and Pygame and is very portable and can be run on different operating systems such as Windows, Linux and Mac.
  2. The game has a very small footprint and is thus easily deployed on an XO.
  3. The code base has been made efficient and speedy to deliver the best performance to the user.
  4. Extensible Design which allows easy modifications and extensions over the current game structure with total independence of Model, View and Controller.


Code Base and Status Updates

Pre-Alpha version of the game has been released. Please check the download section at : http://code.google.com/p/foodforce/downloads/list.

Relevant Files :

  1. FoodForce.xo : For installing on olpc. Copy the file in Activities folder and unzip.
  2. FoodForce for windows.zip : For installing in Windows. Unzip and run Foodforce2.exe to play the game.
  3. src.zip : To view the source files.

Credits

  1. Developer : Mohit Taneja (mohitgenii AT gmail DOT com)
  2. Co-Developer : Peeyush Kumar (peeyush.hsuyeep AT gmail DOT com)
  3. Project Manager : Deepank Gupta (deepankgupta AT gmail DOT com)
  4. OLPC Project Co-ordinator : Manusheel Gupta
  5. Artwork Lead : Silke Buhr
  6. Artwork : WFP Artists from Italy
  7. Contributors: Atul Aggarwal

Activity Summary

Icon: Sugar icon::Foodforce.jpg
Genre: Activity genre::Games
Activity group: ,|x|Activity group::x}}
Short description: [[Short description::FoodForce 2 has been designed to educate and motivate people to solve world hunger by educating children and teachers in a village on how to acheive self sustenance in a fun and non-intrusive way. It also provides awareness about the work WFP has been doing for the past many decades to abate the problem of world hunger.]]
Description: Description::Pre-Alpha version of the game has been released.
Maintainers: ,|x|Contact person::x}}
Repository URL: Source code::http://code.google.com/p/foodforce/downloads/list
Available languages: ,|x|Available languages::x}}
Available languages (codes): ,|x|Language code::x}}
Pootle URL:
Related projects: Related projects,|x|Related projects::x}}
Contributors: ,|x|Team member::x}}
URL from which to download the latest .xo bundle Activity bundle::http://code.google.com/p/foodforce/downloads/list
Last tested version number: Activity version::0.4
The releases with which this version of the activity has been tested. ,|x|Software release::x}}
Development status: Devel status::2. Pre-Alpha
Ready for testing (development has progressed to the point where testers should try it out): ,|x|Ready for testing::x}}
smoke tested :
test plan available :
test plan executed :
developer response to testing :


URL from which to download the last .xo bundle that works with old releases Activity bundle::http://code.google.com/p/foodforce/downloads/list
Activity version number: Activity version::0.4
The releases with which this version of the activity has been tested. ,|x|Software release::x}}
Development status: Devel status::2. Pre-Alpha