QUIZ - For running a quiz with <= 10 rounds <= 20 Team

Just BASIC Games
Post Reply
donjohnson24
Posts: 2
Joined: Tue Oct 27, 2009 5:15 pm
Location: Bridgwater, Somerset, UK
Contact:

QUIZ - For running a quiz with <= 10 rounds <= 20 Team

Post by donjohnson24 »

An opening screen has self-explanatory functions called by entering a number between 1 and 9. Entering 0 enable the program to be exitted - after a confirmation prompt. Entering F enables the filename for storing data to be amended - only 13 characters will be accepted - such as '11092009.DAT' for a quiz run on 11th September 2009.

Input screens selected with 1 or 2 are for entering the names of the Rounds and of Teams. If the first name is 'empty' in each of these screens the program assumes that all names are going to be entered. If the first name is not 'empty', all existing names are displayed, and can be amended by selecting the Round number or the Team letter. Note that i use '0' for Round 10. (so as to only need 1 character entry)

The screen that 'runs' the race enables the Round number to be selected, (0 for 10) and the Round name is then displayed in a large Window. Pressing 'Enter' closes the Window, but 'Enter' has to be pressed again to continue. If the score for Team A is zero, then the program assumes that scores are to be entered for all teams. If no entry is made, the existing value is re-displayed. If the entry exceeds 999, then the existing value is re-displayed.

When all the entries have been completed, an action is awaited at the bottom of the screen.

Entering 0 enables a new Round to be selected.

Entering A - T enables individual scores to be amended - or retained by entering nothing. The displayed scores are set to those for the current Round before an entry is prompted - see next options.

Entering 2 changes the scores displayed to the running total up to the selected Round. Entering 3 changes the scores displayed to the totals for ALL Rounds entered. Entering 1 changes the scores back to those for the current Round.

Entering 4 displays a leader board of the Top 10 teams. In this display the Bottom /Top 10 teams can be toggled with B or T.

Entering 5 redisplays the Round title - this is usually selected whilst questions are being posed to the quiz contestants.

Entering 6 would normally be done at the end of the contest, when the winning team name(s) are displayed, using the total scores from ALL the Rounds.

Entering X exits back to the opening screen.

Analysis of the evening's results can be displayed or printed at any time, by entering 6 or 7 respectively.

Data from the evening can be Saved, and Loaded for use later (by entering 4 or 5). I have included QUIZ.DAT as an example and this should go in the same directory as the program.

Entering 8 gives the 'Leader Board ' display

Entering 9 pops up the winners Window

Generally all options can be selected by a single keypress - only scores and names need to be followed by pressing the 'Enter' key.

I have also included a justbasic1.ini file that changes the editor font, to monosb.ttf - which is also included for installation on your machine if not already present. This font gives a better overhead projector display than Courier, and is the font to be used for testing! (Unless you can suggest a better one!) Obviously, the larger the text on the display, the easier the punters can read it - and from further away!.

My Laptop is set 1024 x 778 pixels, but I would be interested to hear how the display looks on other machines.

If anyone would like to poke the program about and try to get it to 'fall over', I would appreciate your efforts and comments.

Later . . . . . . . 04-11-09

I have now reloaded the zip file after removing the files I should not have included. My apologies for uploading the incorrect version.

Don Johnson
Attachments
QUIZ.zip
Hopefully, correct files plus font and sample entries, plus a doc file
(40.7 KiB) Downloaded 513 times
Don Johnson
e-mail me: donjohnson24@btinternet.com
Personal Website: http://www.donjohnson24.co.uk
Post Reply