<commit_before>import pygame

pygame.init()

SCREENWIDTH, SCREENHEIGHT = 1024, 768
screen = pygame.display.set_mode((SCREENWIDTH, SCREENHEIGHT), 0, 32)

clock = pygame.time.Clock()
FPS = 24

total_frames = 0

while True:
	total_frames += 1

	pygame.display.flip()
	clock.tick.(FPS)<commit_msg>add player and set background<commit_after>import pygame
from process import process
from classes import *

pygame.init()

SCREENWIDTH, SCREENHEIGHT = 800, 600
screen = pygame.display.set_mode((SCREENWIDTH, SCREENHEIGHT), 0, 32)


clock = pygame.time.Clock()
FPS = 24


player = Player(SCREENWIDTH / 2.0 - 25, SCREENHEIGHT - 47, "images/player1.bmp")

total_frames = 0

color = 0
delta = 5

while True:
	process(player)

	player.motion(SCREENWIDTH, SCREENHEIGHT)

	total_frames += 1

	color += delta
	if color == 255:
		delta = -5
	elif color == 0:
		delta = 5
	else:
		pass

	screen.fill((color,color,color))
	BaseClass.all_sprites.draw(screen)


	pygame.display.flip()
	clock.tick(FPS)
{'fraction_non_alphanumeric': 0.12040816326530612, 'fraction_numerical': 0.04285714285714286, 'mean_word_length': 4.419889502762431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '267409', 'n_tokens_mistral': 420, 'n_tokens_neox': 370, 'n_words': 88}