[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Ideas about storing questions/answers for a boardGame.
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Ideas about storing questions/answers for a boardGame.
- From: bhaaluu <bhaaluu@xxxxxxxxx>
- Date: Wed, 23 Jan 2008 18:35:39 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 23 Jan 2008 18:35:50 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MxJSXvLmrxkSLrZgmg4w2eAdQu0Oq248iiMbNJjc9gw=; b=DQV1/sk4HblbTPffHVintpGmL23wyEqACbZj8HevzYdfXZPzm5dAg7T9COkk391p6yze/LzW2xbWawHjrg9Q83Lg5ygDYGhat2HkMXBkEEd8xc/c8vC3bZxa7dz6ar7eakX96xDEIOzMqqPUA8Fqh7DICeyyvfwHS8v2iXC8YZg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=seSaKa8MWDcdKRw5IsNy6XsbjmLtqmY+4UOXRqEFOng5Ov7AYiRV8B+1+acNcN2CVlWPZYdRqdz5Da7CSyM2QpYtOqshWG1b3luAa40Dlf84MUE0QvzW/VujraGtNFWfVRo5uD2ljuF5m0fqrJcI+PiZdiP2M6jJcIiMhIUw404=
- In-reply-to: <2E2F1D64-9815-429A-BBE9-324DDE4A959D@xxxxxx>
- References: <2E2F1D64-9815-429A-BBE9-324DDE4A959D@xxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
There is a nice example in Chapter 10 of Andy Harris's book:
Game Programming, called adventure.py.
http://www.cs.iupui.edu/~aharris/pygame/
It relies on his free gameEngine.py module and a free TTF.
The source code is available from the above site.
The game is an example of a "finite state machine".
--
b h a a l u u at g m a i l dot c o m
http://www.geocities.com/ek.bhaaluu/python/index.html
On Jan 23, 2008 3:36 PM, marta sanz <p22sacam@xxxxxx> wrote:
> Hi there,
>
> I'm trying to develop a board game that has a board, and depending on
> the square a player goes, he has to answer a question and if the
> answer is wrong the play turn goes to other player, and if it is
> right, the player can redrop the dice, the player with more right
> answered questions win. Does anyone have any idea on how can I store
> the questions and answers? I thought about a text file with a
> question per line,but don't know if it is a good idea...
>
> This game is aimed to be used by my sister's school teacher in her
> class of 10 years old kids. I said this because, despite the fact
> that I will give this game with some questions so they can play from
> the moment I give it to them, I would like the teacher to make her
> own question bank once the kids have learned the questions I give at
> the beginning, but have no idea of how can i do a simple bank and how
> can I access it from the pygame code.
>
> Any idea?
>
> Thanks so much.
> Marta.
>