Game templates: Difference between revisions

From OLPC
Jump to navigation Jump to search
(updated template descriptions)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The target audience for game templates is kids who are novice programmers with some Python and Pygame experience, but who have never built a large project on their own before. We want to give the students a sense of accomplishment and an outlet for creativity, without overwhelming them by starting from scratch. Game skeletons make it easy and quick for a student to develop a simple game, without much frustration or experience, by just "filling in the blanks" using code snippets and adding images. But, they also don't restrict the student from going above and beyond, by extending the template to make a more complex game.
The target audience for game templates is kids who are novice programmers with some Python and Pygame experience, but who have never built a large project on their own before. We want to give the students a sense of accomplishment and an outlet for creativity without overwhelming them by starting from scratch. Game skeletons make it easy and quick for a student to develop a simple game, without much frustration or experience, by just filling in the blanks using code snippets and adding images. But they also don't restrict the student from going above and beyond by extending the template to make a more complex game.

== How to Contribute ==

* Create a template (we're still missing an arcade template)
* Use a game template to write an example game
* Write a template and tutorial for one of the genres, or add to an existing one
* Write a code snippet/recipe for a game action


== Game Genres ==
== Game Genres ==
Line 12: Line 5:
The following game genres are common genres when designing educational games. At least one template is needed for each genre.
The following game genres are common genres when designing educational games. At least one template is needed for each genre.
These genres are based on game designs created by high school girls (see Pilot Program).
These genres are based on game designs created by high school girls (see Pilot Program).

The game templates are stored at: http://itgirl.dreamhosters.com/itgirlgames/templates/


=== Adventure (Path-Based) ===
=== Adventure (Path-Based) ===
Line 26: Line 21:


Full template description: http://itgirl.wikispot.org/RoomBasedAdventure
Full template description: http://itgirl.wikispot.org/RoomBasedAdventure

=== Arcade ===
The user only completes a few possible actions with the keyboard or mouse, but they must be done quickly and involve hand-eye coordination. There is often only one task to be completed, but it is done over and over again. Emphasis is on speed and timing.

Example game: [http://youth.tearfund.org/make+poverty+history/water+game EU Water Funding]

Full template description: http://itgirl.wikispot.org/ArcadeGame

=== Maze ===
Maze games have a playing field that is entirely a maze. There is one player, and one main character that is controllable by the user. There are also “good” and “bad” items in the maze. Good objects must be collected by the user, and bad objects must be avoided by the user.

Example game: [http://www.ci.austin.tx.us/sws/downloads/rr.swf City of Austin Recycling Roundup]

Full template description: http://itgirl.wikispot.org/MazeGame


=== Practice drills ===
=== Practice drills ===
Line 57: Line 38:
== Game Cookbook ==
== Game Cookbook ==


Along with full game templates, we also need recipes for code snippets that could be used in ANY game and that can be inserted into any game template. This is similar to [http://www.pygame.org/wiki/CookBook Pygame's Cookbook], but for much simpler actions. These will eventually be added to the Pygame Wiki.
Along with full game templates, we also need recipes for code snippets that could be used in ANY game and that can be inserted into any game template. This is similar to [http://www.pygame.org/wiki/CookBook Pygame's Cookbook], but for much simpler actions.
The initial list of cookbook recipe ideas were based on high school girls' game design ideas (see Pilot Program below).


The cookbook recipes are stored at: http://itgirl.dreamhosters.com/itgirlgames/cookbook/
=== Opening Screen ===
Displays instructions for the game and waits for the user to press a key or click the mouse to start the game.


'''General:'''
=== Closing Screen ===
* Release your code under the GPL
Informs the user that they have won or lost the game. The user can restart the game or close the game.
* Move a sprite using arrow keys

* Move a sprite using mouse
=== Math Question ===
* Time a game, end a game after a specific time period
Asking the user to solve a math problem, then allowing them to input a numeric answer. Check to see if their answer is correct.
* Insert instructions screen

* Insert game over and credits screen
=== Quiz Question ===
* How to end the game based on a condition
Asking the user a multiple choice question, then checking to see if their answer is correct.
* Play a sound
* Choose your character's avatar – whether you play as a girl or a boy, etc.
* Animation of sprites (without user input) – moving to a point, image transformations
* Changing "costumes". Examples:
** make Pacman open and close mouth when he moves
** make costume change based on which direction the sprite is moving in
** make costume change when certain button is clicked
<br>
'''User Activities:'''
* Allow user to collect items in a basket
* Ask the user a question
** Multiple choice questions, and check correctness
** Questions that allow player to type in words or numbers, and check correctness
** Control how many times the user can try the question
* Paint using bucket fill (similar to a paint program)
* Fire a missile/object at another sprite
<br>
'''Maze Specific:'''
* How to form the maze layout
* How to check if you've reached a dead end
* How to check if you've eaten all the pellets
* Add another kind of object to the maze
* Create stationary obstacles (oils slicks, etc) i.e. set the speed of a monster
* Trigger user activity if character gets touched by monster
* Change the size of the game and the blocks


== Pilot Program ==
== Pilot Program ==
The goal for these game templates is that novice programmer students using the XO laptop will be able to easily create games for their peers and for younger students. [http://www.girlstart.org/itgirl/ Project IT Girl] will test these templates with 60 high school girls (16 - 17 years old) beginning in late January 2008.
The goal for these game templates is that novice programmer students using the XO laptop will be able to easily create games for their peers and for younger students. [[Project IT Girl]] tested these templates with 44 high school girls (16 - 17 years old) during the Spring 2008 semester.

Project IT Girl is a [http://www.girlstart.org/ Girlstart] after-school program in Austin, Texas. During the Fall 2007 semester, IT Girls learn basic programming concepts, Python, and Pygame. Over 90% of the girls have no programming experience before this semester. Throughout the semester, the girls work on a game based on litter prevention to practice using Python and Pygame ([http://www.girlstart.org/itgirl/downloads/LitterGame.zip download the sample code]). Each girl also designs a unique educational game ([http://itgirl.wikispot.org/ see the current game designs]).

During the Spring 2008 semester, IT Girls implement their game designs using Python, Pygame, and the game templates. They have a total of '''only 10 hours''' to write the code for their games. At the end of the semester, the games will be made available to the OLPC community.


[[Category:Software ideas]]
[[Category:Software ideas]]

Latest revision as of 13:39, 8 September 2010

The target audience for game templates is kids who are novice programmers with some Python and Pygame experience, but who have never built a large project on their own before. We want to give the students a sense of accomplishment and an outlet for creativity without overwhelming them by starting from scratch. Game skeletons make it easy and quick for a student to develop a simple game, without much frustration or experience, by just filling in the blanks using code snippets and adding images. But they also don't restrict the student from going above and beyond by extending the template to make a more complex game.

Game Genres

The following game genres are common genres when designing educational games. At least one template is needed for each genre. These genres are based on game designs created by high school girls (see Pilot Program).

The game templates are stored at: http://itgirl.dreamhosters.com/itgirlgames/templates/

Adventure (Path-Based)

The character moves through a world or along a path. As the character moves along, she will come across situations or other characters that make her complete a task, problem, or puzzle before they can move forward. For our purposes, the character’s path will be straight (there are no branches or forks in the road).

Example game: Super Mario World

Full template description: http://itgirl.wikispot.org/PathBasedAdventure

Adventure (Room-Based)

The main character is in a closed room with several tasks to complete. The character can move around the room and complete the tasks in any order, but all the tasks must be completed.

Example game: Xtreme Xmas Shopping

Full template description: http://itgirl.wikispot.org/RoomBasedAdventure

Practice drills

Practice drills teach or improve on a specific skill, such as addition, typing, or playing the piano. The game can either provide rigid drills or encourage experimentation. The task given to the player to practice must be completely correctly and quickly to make something good happen or prevent something bad from happening.

Example game: The Frogs Are Off Their Diet!

Full template description: http://itgirl.wikispot.org/PracticeDrillsGame

Simulation and Strategy

Simulation and Strategy Games aim to simulate an experience that requires careful and skillful thinking and planning in order to achieve success. The player has a large project to complete and is asked to make multiple decisions. The player makes several decisions during the project that affect the game's outcome, and the user learns the consequences of each decision. Success is determined by an equation that takes into account the decisions the player made. The player must often complete the project within an allotted amount of time.

Example game: Bacteria Salad

Full template description: http://itgirl.wikispot.org/SimulationStrategyGame

Game Cookbook

Along with full game templates, we also need recipes for code snippets that could be used in ANY game and that can be inserted into any game template. This is similar to Pygame's Cookbook, but for much simpler actions. The initial list of cookbook recipe ideas were based on high school girls' game design ideas (see Pilot Program below).

The cookbook recipes are stored at: http://itgirl.dreamhosters.com/itgirlgames/cookbook/

General:

  • Release your code under the GPL
  • Move a sprite using arrow keys
  • Move a sprite using mouse
  • Time a game, end a game after a specific time period
  • Insert instructions screen
  • Insert game over and credits screen
  • How to end the game based on a condition
  • Play a sound
  • Choose your character's avatar – whether you play as a girl or a boy, etc.
  • Animation of sprites (without user input) – moving to a point, image transformations
  • Changing "costumes". Examples:
    • make Pacman open and close mouth when he moves
    • make costume change based on which direction the sprite is moving in
    • make costume change when certain button is clicked


User Activities:

  • Allow user to collect items in a basket
  • Ask the user a question
    • Multiple choice questions, and check correctness
    • Questions that allow player to type in words or numbers, and check correctness
    • Control how many times the user can try the question
  • Paint using bucket fill (similar to a paint program)
  • Fire a missile/object at another sprite


Maze Specific:

  • How to form the maze layout
  • How to check if you've reached a dead end
  • How to check if you've eaten all the pellets
  • Add another kind of object to the maze
  • Create stationary obstacles (oils slicks, etc) i.e. set the speed of a monster
  • Trigger user activity if character gets touched by monster
  • Change the size of the game and the blocks

Pilot Program

The goal for these game templates is that novice programmer students using the XO laptop will be able to easily create games for their peers and for younger students. Project IT Girl tested these templates with 44 high school girls (16 - 17 years old) during the Spring 2008 semester.