From 29063761001c516d315535f63bdc0ef18e4b55ec Mon Sep 17 00:00:00 2001 From: neomonkeus Date: Sat, 5 Oct 2024 22:38:38 +0100 Subject: [PATCH] Add missing key for score colour. --- Pong/code/settings.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Pong/code/settings.py b/Pong/code/settings.py index dc0f898..d0200c9 100644 --- a/Pong/code/settings.py +++ b/Pong/code/settings.py @@ -1,7 +1,4 @@ -import pygame -from os.path import join - -WINDOW_WIDTH, WINDOW_HEIGHT = 1280, 720 +WINDOW_WIDTH, WINDOW_HEIGHT = 1280, 720 SIZE = {'paddle': (40,100), 'ball': (30,30)} POS = {'player': (WINDOW_WIDTH - 50, WINDOW_HEIGHT / 2), 'opponent': (50, WINDOW_HEIGHT / 2)} SPEED = {'player': 500, 'opponent': 250, 'ball': 450} @@ -10,5 +7,6 @@ 'paddle shadow': '#b12521', 'ball': '#ee622c', 'ball shadow': '#c14f24', - 'bg': '#002633' + 'bg': '#002633', + 'bg detail': '#004a63' } \ No newline at end of file