<commit_before>#!/usr/bin/env python

import pygame, sys, random, time
from pygame.locals import *

pygame.init()
DISPLAYSURF = pygame.display.set_mode((960, 720))
pygame.display.set_caption('Hello World!')

WHITE = (0, 0, 255)
DISPLAYSURF.fill(WHITE)

backdrop = pygame.image.load('backdrop.png')

chickens = [pygame.image.load('hmc.png'), pygame.image.load('hmc2.png')]
egg = pygame.image.load('egg.png')
chicken_position = (random.randint(0, 960-157), random.randint(0, 720-195))
chicken_number = 0
IMAGE_TIME = 20

egg_positions = []

meow = pygame.mixer.Sound('meow.wav')

clock = pygame.time.Clock()
while True: # main game loop
    clock.tick(60)
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
        elif event.type == KEYUP:
            if event.key == K_SPACE:
                egg_positions.append(chicken_position)
                chicken_position = (random.randint(0, 960-157), random.randint(0, 720-195))
                meow.play()<commit_msg>set title<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pygame, sys, random, time
from pygame.locals import *

pygame.init()
DISPLAYSURF = pygame.display.set_mode((960, 720))
pygame.display.set_caption('快乐小鸡')

WHITE = (0, 0, 255)
DISPLAYSURF.fill(WHITE)

backdrop = pygame.image.load('backdrop.png')

chickens = [pygame.image.load('hmc.png'), pygame.image.load('hmc2.png')]
egg = pygame.image.load('egg.png')
chicken_position = (random.randint(0, 960-157), random.randint(0, 720-195))
chicken_number = 0
IMAGE_TIME = 20

egg_positions = []

meow = pygame.mixer.Sound('meow.wav')

clock = pygame.time.Clock()
while True: # main game loop
    clock.tick(60)
    for event in pygame.event.get():
        if event.type == QUIT:
            pygame.quit()
            sys.exit()
        elif event.type == KEYUP:
            if event.key == K_SPACE:
                egg_positions.append(chicken_position)
                chicken_position = (random.randint(0, 960-157), random.randint(0, 720-195))
                meow.play()
{'fraction_non_alphanumeric': 0.1518375241779497, 'fraction_numerical': 0.044003868471953575, 'mean_word_length': 3.0808678500986195, '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': '1315736', 'n_tokens_mistral': 830, 'n_tokens_neox': 753, 'n_words': 141}