473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Multi-user quiz show game

Hi all,

I would like to create a quiz show game for play in a party. The
physical setup would probably be a big screen where everyone (players
and host) can see, which shows a question, and a multiple choice of
answer. The player, with a client computer and keyboard in front,
will press a key to pick an answer. The client program, will then
send the player's choice through the wire to the server program. The
server program will validate the player's answer and the one that is
correct and fastest will get a point. Then we go on to the next
questions...etc.

Some more specific requirements:
1) the programm will probably run on some windows machines
2) need unicode support (ie. questions and answers will be shown in
Chinese)
3) the display will be a full screen display (ie, no window's toolbar
or taskbar shown)

My current thinking is:
1) Use twisted for the networking code
2) Use wxpython for the screen display

My questions are:
Does anyone have any recommendation of what frameworks/libraries to
use? I am kind of worry about mixing all these libraries/frameworks
together for them to play nicely... Would pygame help simplify?

Thanks a lot,
Alex
Jul 18 '05 #1
5 2401
>From: li*****@yahoo.com (Alex Li)
Date: 3/1/04 2:51 PM Eastern Standard T
Hi all,

I would like to create a quiz show game for play in a party. The
physical setup would probably be a big screen where everyone (players
and host) can see, which shows a question, and a multiple choice of
answer. The player, with a client computer and keyboard in front,
will press a key to pick an answer. The client program, will then
send the player's choice through the wire to the server program. The
server program will validate the player's answer and the one that is
correct and fastest will get a point. Then we go on to the next
questions...etc.

Some more specific requirements:
1) the programm will probably run on some windows machines
2) need unicode support (ie. questions and answers will be shown in
Chinese)
3) the display will be a full screen display (ie, no window's toolbar
or taskbar shown)

My current thinking is:
1) Use twisted for the networking code
2) Use wxpython for the screen display

My questions are:
Does anyone have any recommendation of what frameworks/libraries to
use? I am kind of worry about mixing all these libraries/frameworks
together for them to play nicely... Would pygame help simplify?

Thanks a lot,
Alex


I'll let the experts answer this one. But I have a question. Do you rule out a
http server ? If I were doing this I would avoid the apparent complexity
wxpython and just use standard html and javascript to pass the answers to the
server. The python script could record time it got the "get" and return it with
the validation.
allen

Jul 18 '05 #2
> Does anyone have any recommendation of what frameworks/libraries to
use? I am kind of worry about mixing all these libraries/frameworks
together for them to play nicely... Would pygame help simplify?


I did s/t similar, using twisted and pygame- worked great. I just checked if
pygame supports chinese characters - it does! At least on my linux-box,
with a chinese ttf I can get it to work. I actually had to use a chinese
spam - who could have thought that spam can be actually useful?

However, consider what allen said.

--
Regards,

Diez B. Roggisch
Jul 18 '05 #3
>
I'll let the experts answer this one. But I have a question. Do you rule out a
http server ? If I were doing this I would avoid the apparent complexity
wxpython and just use standard html and javascript to pass the answers to the
server. The python script could record time it got the "get" and return it with
the validation.
allen


Thanks, Allen! Your solution is actually quite attractive, as it just
simplify the whole thing a lot.... I would consider it very
seriously...

Thanks again,
Alex
Jul 18 '05 #4
"Diez B. Roggisch" <de************@web.de> wrote in message news:<c2*************@news.t-online.com>...
I did s/t similar, using twisted and pygame- worked great. I just checked if
pygame supports chinese characters - it does! At least on my linux-box,
with a chinese ttf I can get it to work. I actually had to use a chinese
spam - who could have thought that spam can be actually useful?

However, consider what allen said.


Thanks for your info, Diez. I agreed that Allen's suggestion is very
attractive, I am seriously considering it... Anyhow, it is good to
know htat pygame + chinese + twisted worked great :)
Jul 18 '05 #5
to add to what allen said, I'd just use the f11 key to fullscreen the
browser, also.

"Alex Li" <li*****@yahoo.com> wrote in message
news:ea**************************@posting.google.c om...

I'll let the experts answer this one. But I have a question. Do you rule out a http server ? If I were doing this I would avoid the apparent complexity
wxpython and just use standard html and javascript to pass the answers to the server. The python script could record time it got the "get" and return it with the validation.
allen


Thanks, Allen! Your solution is actually quite attractive, as it just
simplify the whole thing a lot.... I would consider it very
seriously...

Thanks again,
Alex

Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours,...
4
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
6
by: Joe | last post by:
I have 2 multi-list boxes, 1 displays course categories based on a table called CATEGORIES. This table has 2 fields CATEGORY_ID, CATEGORY_NAME The other multi-list box displays courses based on...
4
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the...
5
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a...
5
by: dkelly925 | last post by:
Is there a way to add an If Statement to the following code so if data in a field equals "x" it will launch one report and if it equals "y" it would open another report. Anyone know how to modify...
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.