RicegrowJS

About Ricegrow

Ricegrow is an interactive game designed to teach the player(s) the nature of the risk faced by rice farmers. This game was written by Robert Huke, former head of the Geography Department at Dartmouth University in New Hampshire. It is based on data obtained while Huke was working at the International Rice Research Institute in the Philippines. The original program was written in TrueBasic.

In Ricegrow, you will play the part of a small farmer in Central Luzon, a major rice growing area of the Philippines. In growing a rice crop during the wet season, you will face the risks or probabilities of crop loss similar to that faced by Philippine farmers. These include loss due to weeds, disease, insects, birds, and rat damage which you can minimize by applying the appropriate inputs. Also included is risk or probability of loss due to typhoon damage over which you have no control. However, the game does not take into account the risk due to change in prices.

It takes just a few minutes to play the game or raise one crop of rice. At the end of each game, you have the opportunity to change one of the inputs and raise another crop of rice.

Suggested setup in a class-based setting

The class should be divided into groups of three or four with (if possible) one member of each group having some agricultural background. After the game is demonstrated, each team will be allowed five practice games or grow five crops in a row.

Then each team can take a break and start again from the beginning deciding which inputs you would like to use. This time, they will grow ten crops in a row, making one input change after each crop they desire. The results from these ten crops should be tabulated on sheets of paper to determine their yield and average income over the 10 year period. The data to be recorded are:

  1. Kilograms fertilizer input
  2. The yield estimate of the farm specialists in kilograms (cavans x 50)
  3. The actual yield in kilograms
  4. Gross value of rice (palay) in pesos
  5. Total expenses
  6. Net profit

Tell the participants not to worry if the costs and returns do not reflect the current situation. In fact, this game was played for five years (1999-2004) by students in Vietnam (Harvard-Fullbright one year program in economics) where framers face similar risks.

After the sheets with the results for their 10 year periods have been turned in, announce the winners and losers. Remind the participants that the winners (losers) may just be smart (not so smart) or just plain lucky (unlucky).

Assumptions

So that all teams start at more or less the same point, please use the following values at all times:

  1. Size of farm = 1 hectare
  2. Cost of outside labor = ₱ 110
  3. Type of rice = IR64
  4. Cost of seed = ₱ 600
  5. Cost of fertilizer = ₱ 7/kg Urea
  6. Market value of rough rice = ₱ 5.50/kg

Hints for participants

Pay attention to the extension lady. She knows what she is talking about. Her yield estimate is a good reflection of crop potential yield before major crop damage.

When you make a change in input, keep a record of the cost before and after you make the change and also check the extension agents yield estimate before and after the change.

Google may help if you do not have an agricultural background. Or maybe not.

About this port

I didn't have high-speed internet for 5 days and was bored out of my mind. After poking around my hard drive, I found the source code and documentation for the original 1998 True BASIC version of Ricegrow, which was provided to us by IRRI during their 2012 hackathon.

Under the excuse of commemorating the 50th year of BASIC (my first programming language), I eventually decided to spend a day porting it to Ruby. I then spent a couple more days porting it to JavaScript / CoffeeScript.

Both the program text and documentation above (About Ricegrow) are almost direct copies of the originals i.e. I retained the formatting and even some of the more endearing typos.