Kuku: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 44: Line 44:
[[Image:kuku_end_REL_0.2.jpg|thumb|left|Losing Screen|200px]]
[[Image:kuku_end_REL_0.2.jpg|thumb|left|Losing Screen|200px]]
[[Image:kuku_win_REL_0.2.jpg|thumb|center|Winning Screen|200px]]
[[Image:kuku_win_REL_0.2.jpg|thumb|center|Winning Screen|200px]]




We want to make the game images as 'discoverable' as possible. To that end, the start screen describes the nature of the game (addition symbol for mathematics (right now)), the arrow keys denote chicken motion, and the B2 space-bar key tells the kids how to make the chicken peck. There are a lot of numbers or the game screen which could certainly be dealt with better. The losing and winning screens are added to by downbeat and upbeat music, respectively.
We want to make the game images as 'discoverable' as possible. To that end, the start screen describes the nature of the game (addition symbol for mathematics (right now)), the arrow keys denote chicken motion, and the B2 space-bar key tells the kids how to make the chicken peck. There are a lot of numbers or the game screen which could certainly be dealt with better. The losing and winning screens are added to by downbeat and upbeat music, respectively.

Revision as of 20:04, 18 June 2007

Kuku
Kuku.png
Status: In Development/XO Testing
Version: 0.1
Base: 0.1
Source: Trac
l10n: missing
Contributors
Julius B. Lucks, Adrian DelMaestro, Sera L. Young, Roberto Christen, Matthew Myers, Brian Jordan

Description & Goals

Summary

Kuku, short for 'Kuku Anakula' (Hungry Chicken), is based on the basic arithmetic education game Number Munchers. In single player mode, the game consists of a simple grid that the player (a chicken) is allowed to move around on. A question is posed outside of the grid, such as '5 + 5 = ?', and each square in the grid has a potential answer in it. The goal is to 'eat' as many correct answers as possible within a given time frame to accumulate points. There are penalties for eating incorrect answers, and the questions are changed when all correct answers are eaten. As the game progresses, the questions become more difficult. In multiplayer mode, the grid will be able to expand with multiple chickens that can compete against each other, or work as a team to eat all the correct answers.

We imagine this game to be one instance that relies on a more general question-answer, or quiz library. The idea is that all of the questions and answers will be stored and editable by kids and teachers. Question content is not restricted to basic arithmetic, but can consist of multiple choice questions, vocabulary questions, image recognition questions, and many more. Specific examples might consist of:

  • a fill in the blank sentence as the question with multiple vocabulary words as the answers
  • a snapshot of a tree taken by the child as the question with names of types of trees as the answers
  • an arithmetic expression as the question with numbers as the answers

In order to develop this game then, we would like to develop a simple question and answer library that teachers can use to port their existing materials for the game. The game can then be considered as a study tool for children for an upcoming test, and we imagine that the same library will be useful in a testing activity which actually conducts the test on the laptops.

We also think that the structure of this game will get kids interested in developing their own content or versions of the game. Having questions and answers in easily editable files will introduce children to poking around the internals, and we hope to design the game code in such a way as to naturally lead the children into learning about programming and tweaking the game themselves. This might be done through the quiz library using programming expressions to generate incorrect, 'red herring', answers for seeding the grid.

We greatly appreciate discussion, especially on the design of the question/answer library (see below).

Goals

  • To develop a general question/answer library that teachers can use to port existing quiz material for use in this game and other activities.
  • To develop a Number Munchers-like game activity that enables children to be quizzed on a variety of educational topics in a fun way
  • To emphasize the fact that both the content and the game itself can be changed through project structure as well as hints to the children in the activity that this can be done.

Collaboration

  • We hope to create a multiplayer mode that allows several players (communicating through the mesh) to be able to play on the same grid in either competition or cooperation mode.

Visual Design

Screenshots

Start Screen
Game Screen
Losing Screen
Winning Screen


We want to make the game images as 'discoverable' as possible. To that end, the start screen describes the nature of the game (addition symbol for mathematics (right now)), the arrow keys denote chicken motion, and the B2 space-bar key tells the kids how to make the chicken peck. There are a lot of numbers or the game screen which could certainly be dealt with better. The losing and winning screens are added to by downbeat and upbeat music, respectively.

XO Screenshots

Kuku screenshot XO.jpg

This screenshot depicts the basic grid layout with the player (chicken) in the lower left-hand corner. The question (5 + 5 = ?) is posed outside the upper left of the grid. Below the question are the current score (+25), and the current time (1.35 s). (Please excuse the state of this screenshot - we have not focused on the graphics yet!)

Kuku startpage.jpg

This screenshot shows the startpage of the version of the activity that was judged by children on Sunday afternoon during the first OLPC Game Jam.

Development

Source

The code is just python and pyGame. The code can be checked out and dropped into a directory called Kuku.activity and placed in a Sugar activities directory to be able to work on an XO.

Activity Source: http://dev.laptop.org/git.do?p=projects/kuku

git clone git://dev.laptop.org/projects/kuku

Feature Requests

Implementation Discussion
Version History

People

Jam team6.jpg

Adrian, Julius and Sera hacking away at the Boston 2007 Game Jam.

Team kuku.jpg

Team Kuku after the first night of the Game Jam at Olin College, with kuku running: Roberto, Julius, Matt, Adrian, Sera, Brian.

  • Julius Lucks (lucks on #sugar and #olpc-content IRC)
  • Adrian DelMaestro
  • Sera Young sly3 (at) cornell (dot) edu
  • Roberto Christen (roberto (dot) christen (at) gmail (dot) com)
  • Matthew Myers matt (at) 2eastmusic (dot) com
  • Brian Jordan bjordan (at) wesleyan (dot)edu

Question/Answer Library

We have started to sketch some API designs. So far I have outlined a basic QA class that is responsible for managing the question and answers (both correct and incorrect) for a single question.

from QA import QA

#Basic question/answer
q = QA()

#Load question/correct answer/false answers
q.set_question('5 + 5')
q.set_correct_answer(10)
q.set_false_answer(9)
q.set_false_answer([9,11])
import random
false_function = lambda x: random.randint(*random.choice([(0,x-1),(x+1,50)]))
q.set_false_function(false_function)

#Get question and answers
q.get_question()
  '5 + 5'
q.get_correct_answer()
  10
q.get_false_answer()
  9
  11
  21
  3

I have written some unit tests for the above functionality that I will put into the git repo once it is set up.

The next step is to define a syntax for a textfile that can be parsed and questions loaded from. With a set of questions loaded, it should be very simple to create a command-line quiz activity.

Something light weight like this will be all that Kuku needs, and will be simple for children to work from. We would love feedback on this though, especially if you have other activities that would benefit from such a general question/answer library.

Resources

Useful Links

Linux Journal Pygame Article