Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake8 fixes #21

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions juego.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
# -*- coding: utf-8 -*-

import logging
from pygame.locals import *
from pygame.locals import Rect
from pygame.locals import scale_x
from pygame.locals import scale_y
from pygame.locals import QUIT
from pygame.locals import MOUSEBUTTONDOWN
from pygame.locals import MOUSEMOTION
from pygame.locals import K_ESCAPE
from pygame.locals import KEYDOWN
import pygame
import random
from gi.repository import Gtk
Expand Down Expand Up @@ -284,8 +291,6 @@ def choose_level(self):
pygame.display.update()

def play(self, level):
NUM_IMAGES = 1

die_point = {"facil": 200, "medio": 100, "dificil": 60}

another_quest = True
Expand Down Expand Up @@ -428,4 +433,4 @@ def load_puntuacionalta(activity_root):
except BaseException:
return 0
else:
return 0
return 0