<gh_stars>1-10

import pygame

""" Constants """
GAME_SIZE = (1280, 750)
CAPTION = "Self Regulation"
FPS = 60

MUSIC_END = pygame.USEREVENT + 0
SOUND_END = pygame.USEREVENT + 1


ALLOWED_KEYS = [
    pygame.K_BACKSPACE,
    pygame.K_TAB,
    pygame.K_CLEAR,
    pygame.K_RETURN,
    pygame.K_PAUSE,
    pygame.K_ESCAPE,
    pygame.K_SPACE,
    pygame.K_EXCLAIM,
    pygame.K_QUOTEDBL,
    pygame.K_HASH,
    pygame.K_DOLLAR,
    pygame.K_AMPERSAND,
    pygame.K_QUOTE,
    pygame.K_LEFTPAREN,
    pygame.K_RIGHTPAREN,
    pygame.K_ASTERISK,
    pygame.K_PLUS,
    pygame.K_COMMA,
    pygame.K_MINUS,
    pygame.K_PERIOD,
    pygame.K_SLASH,
    pygame.K_0,
    pygame.K_1,
    pygame.K_2,
    pygame.K_3,
    pygame.K_4,
    pygame.K_5,
    pygame.K_6,
    pygame.K_7,
    pygame.K_8,
    pygame.K_9,
    pygame.K_COLON,
    pygame.K_SEMICOLON,
    pygame.K_LESS,
    pygame.K_EQUALS,
    pygame.K_GREATER,
    pygame.K_QUESTION,
    pygame.K_AT,
    pygame.K_LEFTBRACKET,
    pygame.K_BACKSLASH,
    pygame.K_RIGHTBRACKET,
    pygame.K_CARET,
    pygame.K_UNDERSCORE,
    pygame.K_BACKQUOTE,
    pygame.K_a,
    pygame.K_b,
    pygame.K_c,
    pygame.K_d,
    pygame.K_e,
    pygame.K_f,
    pygame.K_g,
    pygame.K_h,
    pygame.K_i,
    pygame.K_j,
    pygame.K_k,
    pygame.K_l,
    pygame.K_m,
    pygame.K_n,
    pygame.K_o,
    pygame.K_p,
    pygame.K_q,
    pygame.K_r,
    pygame.K_s,
    pygame.K_t,
    pygame.K_u,
    pygame.K_v,
    pygame.K_w,
    pygame.K_x,
    pygame.K_y,
    pygame.K_z,
    pygame.K_DELETE,
    pygame.K_KP0,
    pygame.K_KP1,
    pygame.K_KP2,
    pygame.K_KP3,
    pygame.K_KP4,
    pygame.K_KP5,
    pygame.K_KP6,
    pygame.K_KP7,
    pygame.K_KP8,
    pygame.K_KP9,
    pygame.K_KP_PERIOD,
    pygame.K_KP_DIVIDE,
    pygame.K_KP_MULTIPLY,
    pygame.K_KP_MINUS,
    pygame.K_KP_PLUS,
    pygame.K_KP_ENTER,
    pygame.K_KP_EQUALS,
    pygame.K_UP,
    pygame.K_DOWN,
    pygame.K_RIGHT,
    pygame.K_LEFT,
    pygame.K_HOME,
    pygame.K_END,
]






import pygame

""" Constants """
GAME_SIZE = (1280, 750)
CAPTION = "Self Regulation"
FPS = 60

MUSIC_END = pygame.USEREVENT + 0
SOUND_END = pygame.USEREVENT + 1


ALLOWED_KEYS = [
    pygame.K_BACKSPACE,
    pygame.K_TAB,
    pygame.K_CLEAR,
    pygame.K_RETURN,
    pygame.K_PAUSE,
    pygame.K_ESCAPE,
    pygame.K_SPACE,
    pygame.K_EXCLAIM,
    pygame.K_QUOTEDBL,
    pygame.K_HASH,
    pygame.K_DOLLAR,
    pygame.K_AMPERSAND,
    pygame.K_QUOTE,
    pygame.K_LEFTPAREN,
    pygame.K_RIGHTPAREN,
    pygame.K_ASTERISK,
    pygame.K_PLUS,
    pygame.K_COMMA,
    pygame.K_MINUS,
    pygame.K_PERIOD,
    pygame.K_SLASH,
    pygame.K_0,
    pygame.K_1,
    pygame.K_2,
    pygame.K_3,
    pygame.K_4,
    pygame.K_5,
    pygame.K_6,
    pygame.K_7,
    pygame.K_8,
    pygame.K_9,
    pygame.K_COLON,
    pygame.K_SEMICOLON,
    pygame.K_LESS,
    pygame.K_EQUALS,
    pygame.K_GREATER,
    pygame.K_QUESTION,
    pygame.K_AT,
    pygame.K_LEFTBRACKET,
    pygame.K_BACKSLASH,
    pygame.K_RIGHTBRACKET,
    pygame.K_CARET,
    pygame.K_UNDERSCORE,
    pygame.K_BACKQUOTE,
    pygame.K_a,
    pygame.K_b,
    pygame.K_c,
    pygame.K_d,
    pygame.K_e,
    pygame.K_f,
    pygame.K_g,
    pygame.K_h,
    pygame.K_i,
    pygame.K_j,
    pygame.K_k,
    pygame.K_l,
    pygame.K_m,
    pygame.K_n,
    pygame.K_o,
    pygame.K_p,
    pygame.K_q,
    pygame.K_r,
    pygame.K_s,
    pygame.K_t,
    pygame.K_u,
    pygame.K_v,
    pygame.K_w,
    pygame.K_x,
    pygame.K_y,
    pygame.K_z,
    pygame.K_DELETE,
    pygame.K_KP0,
    pygame.K_KP1,
    pygame.K_KP2,
    pygame.K_KP3,
    pygame.K_KP4,
    pygame.K_KP5,
    pygame.K_KP6,
    pygame.K_KP7,
    pygame.K_KP8,
    pygame.K_KP9,
    pygame.K_KP_PERIOD,
    pygame.K_KP_DIVIDE,
    pygame.K_KP_MULTIPLY,
    pygame.K_KP_MINUS,
    pygame.K_KP_PLUS,
    pygame.K_KP_ENTER,
    pygame.K_KP_EQUALS,
    pygame.K_UP,
    pygame.K_DOWN,
    pygame.K_RIGHT,
    pygame.K_LEFT,
    pygame.K_HOME,
    pygame.K_END,
]