Skip to content

Commit

Permalink
Made Game Selector
Browse files Browse the repository at this point in the history
Now you can select between multiple games (up to four) instead of just
playing one game over and over again!
  • Loading branch information
tyspa1 committed Aug 18, 2014
1 parent 830266f commit 1770178
Show file tree
Hide file tree
Showing 35 changed files with 843 additions and 5 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,12 @@ Display/General game settings:

Clues/Categories/Edition Title/Player Names/Clue Amounts/Rules:
---------------------------------------------------------------
* The files for these are all located in ``<jeoparpy root>/res/text/``
* The files for these are all located in ``<jeoparpy root>/games/``
* In each folder of the games directory there is a game.
* Each file has sample data included.
* Instructions for each are found in ``/res/text/INSTRUCTIONS.txt``
* Rename a folder in the games directory to rename a game.
* Maximum of four (4) games. Minimum of one (1) game.
* Instructions for each are found in ``/games/<game>/INSTRUCTIONS.txt``

Clue Audio/Images
-----------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions games/Example/subtitle.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Example Edition
118 changes: 118 additions & 0 deletions games/Prototype/INSTRUCTIONS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
========================================================================
THE FOLLOWING ARE INSTRUCTIONS TO CREATE YOUR OWN VALUES FOR GAME DATA |
========================================================================
Please note that each respective file has sample data included to aid
you in writing your own data.

=======
CLUES |
=======
* Clues must be written in 'clues.txt,' located in the folder containing
these instructions.

* Clues must be separated in these files by one or more blank lines.
-This means there cannot be any blank lines within a single clue.
-For easiest viewing, separate clues in the same category by one line,
and categories by several.

* There are sample clues already in 'clues.txt' to guide you.
To create your own clues, replace the sample data with your own text,
taking note of the following:

- Clues are written starting from the top left clue box, then by column.
~ Example: On a 5x5 board, the first 5 clues will be the clues for
the leftmost category, starting at the top. The next 5 will be for
the column to the right, starting at the top.

- Clues can be any length, but abnormally long clues may be too small
to be easily read.

- As can be seen in the sample clues, you may choose to write an
entire clue on a single line or dictate the line breaks
yourself. The simplest method is to write each clue on a single
line.


============
CATEGORIES |
============
* Categories must be written in 'categories.txt,' located in the folder
containing these instructions.

* Each non-empty line in 'categories.txt' is treated as a category.
Replace the sample categories with your own.

* The capitalization used in 'categories.txt' will be used in the game
(all caps is recommended).

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* Category names can be any length/any number of words, but shorter
is better for readability.


==============
PLAYER NAMES |
==============
* Player names are defined in 'players.txt,' located in the folder
containing these instructions.

* Each player/team name must be on a separate line.

* There is a maximum of 3 players/teams at this time. If more names
are provided in the file, they will be ignored, and a warning message
printed. If there are fewer than 3 names provided, default names
(Player 1, etc...) will be used for missing names.

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* Names can be any length and any number of words, but keep in mind very
long names may be drawn so small as to be essentially unreadable.


=========
AMOUNTS |
=========
* Clue amounts are defined in 'amounts.txt,' located in the folder
containing these instructions.

* Each amount should be on a separate line, and must be only an integer
(ex: 200).

* Do not include a dollar sign, decimal or any other non-numeric character.

* Make sure the number of amounts matches the number of clues per category.

* Amounts can be arbitrarily high, but note that scores of 10 million or higher
will not fit properly on the podia. There are no plans to change this behavior
as it is considered an extreme edge case.


=======
RULES |
=======
* Rules are defined in 'rules.txt,' located in the folder containing
these instructions.

* Rules are displayed after the opening sequence, before the category
scroll.

* Each rule should be on a separate line.

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* It is recommended to start each rule with a bullet-like character, such as
an asterisk (*).


==========
SUBTITLE |
==========
* Subtitle must be written in 'subtitle.txt,' located in the folder
containing these instructions.

* The first line in 'subtitle.txt' containing any non-whitespace text
is treated as the subtitle.

* If no subtitle is desired, make 'subtitle.txt' empty (do not delete it,
however).
5 changes: 5 additions & 0 deletions games/Prototype/amounts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
200
400
600
800
1000
5 changes: 5 additions & 0 deletions games/Prototype/categories.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SAMPLE CATEGORY
EXAMPLE CATEGORY
MODEL CATEGORY
TEST LONG CATEGORY NAME
PROTOTYPE CATEGORY
90 changes: 90 additions & 0 deletions games/Prototype/clues.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
THIS IS AN EXAMPLE OF A LONG CLUE WRITTEN ON A SINGLE LINE. ITS TEXT IS AUTOMATICALLY FIT TO THE CLUE SCREEN

THIS IS AN EXAMPLE OF A CLUE
WITH MANUAL LINE BREAKS.
THE LINES OF CLUES LIKE THIS
MUST BE SEQUENTIAL IN THE
FILE, WITH NO BLANK LINES
BETWEEN THEM

THIS IS AN EXAMPLE OF A CLUE WITH AN AUDIO READING. NOTE HOW PLAYERS ARE NOT ABLE TO RING-IN UNTIL THE AUDIO HAS FINISHED

EXAMPLE PICTURE ANSWER

THIS CLUE HAS AUDIO ATTACHED TO IT. PRESS "M" TO TRIGGER IT, WHICH WILL ALSO ALLOW PLAYERS TO BUZZ IN.





THIS IS AN EXAMPLE OF A LONG CLUE WRITTEN ON A SINGLE LINE. ITS TEXT IS AUTOMATICALLY FIT TO THE CLUE SCREEN

THIS IS AN EXAMPLE OF A CLUE
WITH MANUAL LINE BREAKS.
THE LINES OF CLUES LIKE THIS
MUST BE SEQUENTIAL IN THE
FILE, WITH NO BLANK LINES
BETWEEN THEM

THIS IS AN EXAMPLE OF A CLUE WITH AN AUDIO READING. NOTE HOW PLAYERS ARE NOT ABLE TO RING-IN UNTIL THE AUDIO HAS FINISHED

EXAMPLE PICTURE ANSWER

THIS CLUE HAS AUDIO ATTACHED TO IT. PRESS "M" TO TRIGGER IT, WHICH WILL ALSO ALLOW PLAYERS TO BUZZ IN.





THIS IS AN EXAMPLE OF A LONG CLUE WRITTEN ON A SINGLE LINE. ITS TEXT IS AUTOMATICALLY FIT TO THE CLUE SCREEN

THIS IS AN EXAMPLE OF A CLUE
WITH MANUAL LINE BREAKS.
THE LINES OF CLUES LIKE THIS
MUST BE SEQUENTIAL IN THE
FILE, WITH NO BLANK LINES
BETWEEN THEM

THIS IS AN EXAMPLE OF A CLUE WITH AN AUDIO READING. NOTE HOW PLAYERS ARE NOT ABLE TO RING-IN UNTIL THE AUDIO HAS FINISHED

EXAMPLE PICTURE ANSWER

THIS CLUE HAS AUDIO ATTACHED TO IT. PRESS "M" TO TRIGGER IT, WHICH WILL ALSO ALLOW PLAYERS TO BUZZ IN.





THIS IS AN EXAMPLE OF A LONG CLUE WRITTEN ON A SINGLE LINE. ITS TEXT IS AUTOMATICALLY FIT TO THE CLUE SCREEN

THIS IS AN EXAMPLE OF A CLUE
WITH MANUAL LINE BREAKS.
THE LINES OF CLUES LIKE THIS
MUST BE SEQUENTIAL IN THE
FILE, WITH NO BLANK LINES
BETWEEN THEM

THIS IS AN EXAMPLE OF A CLUE WITH AN AUDIO READING. NOTE HOW PLAYERS ARE NOT ABLE TO RING-IN UNTIL THE AUDIO HAS FINISHED

EXAMPLE PICTURE ANSWER

THIS CLUE HAS AUDIO ATTACHED TO IT. PRESS "M" TO TRIGGER IT, WHICH WILL ALSO ALLOW PLAYERS TO BUZZ IN.





THIS IS AN EXAMPLE OF A LONG CLUE WRITTEN ON A SINGLE LINE. ITS TEXT IS AUTOMATICALLY FIT TO THE CLUE SCREEN

THIS IS AN EXAMPLE OF A CLUE
WITH MANUAL LINE BREAKS.
THE LINES OF CLUES LIKE THIS
MUST BE SEQUENTIAL IN THE
FILE, WITH NO BLANK LINES
BETWEEN THEM

THIS IS AN EXAMPLE OF A CLUE WITH AN AUDIO READING. NOTE HOW PLAYERS ARE NOT ABLE TO RING-IN UNTIL THE AUDIO HAS FINISHED

EXAMPLE PICTURE ANSWER

THIS CLUE HAS AUDIO ATTACHED TO IT. PRESS "M" TO TRIGGER IT, WHICH WILL ALSO ALLOW PLAYERS TO BUZZ IN.
3 changes: 3 additions & 0 deletions games/Prototype/players.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Team 1
Team 2
Team 3
4 changes: 4 additions & 0 deletions games/Prototype/rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* One ring-in per team, per turn
* Answer must be read in full before ring-in
* Responses must be in form of a question
* No daily doubles
1 change: 1 addition & 0 deletions games/Prototype/subtitle.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prototype Edition
9 changes: 9 additions & 0 deletions games/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Games
++++++++++

Each folder consists of similar files.
Edit each folder for each game.Follow the README in each folder.
Select your game you wish to play when running start.py
Maximum of four (4) games.

Thanks for playing!
118 changes: 118 additions & 0 deletions games/Sample/INSTRUCTIONS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
========================================================================
THE FOLLOWING ARE INSTRUCTIONS TO CREATE YOUR OWN VALUES FOR GAME DATA |
========================================================================
Please note that each respective file has sample data included to aid
you in writing your own data.

=======
CLUES |
=======
* Clues must be written in 'clues.txt,' located in the folder containing
these instructions.

* Clues must be separated in these files by one or more blank lines.
-This means there cannot be any blank lines within a single clue.
-For easiest viewing, separate clues in the same category by one line,
and categories by several.

* There are sample clues already in 'clues.txt' to guide you.
To create your own clues, replace the sample data with your own text,
taking note of the following:

- Clues are written starting from the top left clue box, then by column.
~ Example: On a 5x5 board, the first 5 clues will be the clues for
the leftmost category, starting at the top. The next 5 will be for
the column to the right, starting at the top.

- Clues can be any length, but abnormally long clues may be too small
to be easily read.

- As can be seen in the sample clues, you may choose to write an
entire clue on a single line or dictate the line breaks
yourself. The simplest method is to write each clue on a single
line.


============
CATEGORIES |
============
* Categories must be written in 'categories.txt,' located in the folder
containing these instructions.

* Each non-empty line in 'categories.txt' is treated as a category.
Replace the sample categories with your own.

* The capitalization used in 'categories.txt' will be used in the game
(all caps is recommended).

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* Category names can be any length/any number of words, but shorter
is better for readability.


==============
PLAYER NAMES |
==============
* Player names are defined in 'players.txt,' located in the folder
containing these instructions.

* Each player/team name must be on a separate line.

* There is a maximum of 3 players/teams at this time. If more names
are provided in the file, they will be ignored, and a warning message
printed. If there are fewer than 3 names provided, default names
(Player 1, etc...) will be used for missing names.

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* Names can be any length and any number of words, but keep in mind very
long names may be drawn so small as to be essentially unreadable.


=========
AMOUNTS |
=========
* Clue amounts are defined in 'amounts.txt,' located in the folder
containing these instructions.

* Each amount should be on a separate line, and must be only an integer
(ex: 200).

* Do not include a dollar sign, decimal or any other non-numeric character.

* Make sure the number of amounts matches the number of clues per category.

* Amounts can be arbitrarily high, but note that scores of 10 million or higher
will not fit properly on the podia. There are no plans to change this behavior
as it is considered an extreme edge case.


=======
RULES |
=======
* Rules are defined in 'rules.txt,' located in the folder containing
these instructions.

* Rules are displayed after the opening sequence, before the category
scroll.

* Each rule should be on a separate line.

* Leading or trailing whitespace (spaces, tabs, returns) is ignored.

* It is recommended to start each rule with a bullet-like character, such as
an asterisk (*).


==========
SUBTITLE |
==========
* Subtitle must be written in 'subtitle.txt,' located in the folder
containing these instructions.

* The first line in 'subtitle.txt' containing any non-whitespace text
is treated as the subtitle.

* If no subtitle is desired, make 'subtitle.txt' empty (do not delete it,
however).
5 changes: 5 additions & 0 deletions games/Sample/amounts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
200
400
600
800
1000
5 changes: 5 additions & 0 deletions games/Sample/categories.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SAMPLE CATEGORY
EXAMPLE CATEGORY
MODEL CATEGORY
TEST LONG CATEGORY NAME
PROTOTYPE CATEGORY
Loading

0 comments on commit 1770178

Please sign in to comment.