This repository has been archived by the owner on May 4, 2021. It is now read-only.
forked from adambeagle/JeoparPy
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.py
80 lines (67 loc) · 2.56 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
"""
config.py
DESCRIPTION:
Defines top-level settings intended to be user-customizable.
Copyright (C) 2013 Adam Beagle - All Rights Reserved
You may use, distribute, and modify this code under
the terms of the GNU General Public License,
viewable at http://opensource.org/licenses/GPL-3.0
This copyright notice must be retained with any use
of source code from this file.
"""
###############################################################################
# DISPLAY SETTINGS
#=================
#
# SET DISPLAY RESOLUTION BELOW. Resolution must have a widescreen
# (16:9 or 16:10) aspect ratio.
#
# Common 16:9 resolutions:
# (1024, 576), (1280, 720), (1366, 768), (1600, 900), (1920, 1080)
#
# Common 16:10 resolutions:
# (1280, 800), (1440, 900), (1680, 1050), (1920, 1200)
#
# It is not recommended to use a resolution higher than (1920, 1200).
SCREEN_W, SCREEN_H = SCREEN_SIZE = (1024, 576)
# This setting controls whether the game is run in fullscreen or windowed
# mode. (1 for fullscreen, 0 for windowed).
#
# It is recommended to run the game with FULLSCREEN = 1
# FULLSCREEN is 0 by default in case the default resolution is not supported.
#
# Invoking start.py with a -f, --fullscreen, -w, or --windowed option
# will override this setting.
FULLSCREEN = 0
# It is not recommended to change this field unless there are
# problems running the game at this speed.
FPS_LIMIT = 100
###############################################################################
# GAME SETTINGS
#==============
# This is the time in miliseconds after which a clue will timeout
# if no player has buzzed in. This field should be an integer.
# The default value is 20 seconds.
#
# If a clue has an audio reading, the timer begins immediately after
# the reading finishes. If the clue has other attached audio, the timer is
# not triggered at all. This is to prevent problems with audio being longer
# than the time provided.
#
# If the value is 0, negative, or None, the timer will be disabled for the
# entire game.
CLUE_TIMEOUT_MS = 20000
# This is the time in miliseconds that players have to answer a clue
# after buzzing in. This field must be a positive integer.
ANSWER_TIME_MS = 5000
# If this is set to True, money is taken away when a player answers
# incorrectly. If set to False, money remains the same on a wrong answer.
SUBTRACT_ON_INCORRECT = True
# When True, debugging statements are printed to stdout.
# Typical users should not need to change this setting.
#
# Note this setting, if False here, can be overridden py passing
# a -d or --debug option to start.py
DEBUG = False
#Flash drive
DRIVE = False