473,748 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2418
>From: li*****@yahoo.c om (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...et c.

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.goo gle.com...

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
4895
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, Pujo
4
4673
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
3879
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
0
3783
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 and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
6
8177
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
4893
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 a table called COURSES. This table has 2 fields CATEGORY_ID, COURSE_NAME. The CATEGORY_ID is a FK in COURSES and a PK in CATEGORIES. I want to populate the course list box based on any category(s)
4
17873
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 problem is the charset? How I can avoid this warning? But the worst thing isn't the warning, but that the program doesn't work! The program execute all other operations well, but it don't print the converted letters: for example, in the string...
5
5997
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 TIFF to several PNG files this causes a problem, becuase the resulting image is (the page to the far left and a lot of black space surrounding it and a filesize that is larger than needed. Any ideas?
5
3283
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 this? Private Sub cmdPreview_Click() On Error GoTo Err_Handler 'Purpose: Open the report filtered to the items selected in the list box. 'Author: Allen J Browne, 2004. http://allenbrowne.com Dim varItem As Variant 'Selected items
1
9314
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 "PAR.UniqueID" could not be bound. The multi-part identifier "PAR.PAR_Status" could not be bound. The multi-part identifier "Salary.New_Salary" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part...
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.