"""Module with a debug function to print data to the game screen"""
import pygame
pygame.init()
font = pygame.font.Font(None, 30)

# pylint:disable=invalid-name


def debug(info, y=10, x=10):
    """ Prints debug info to the screen"""
    display_surface = pygame.display.get_surface()
    debug_surf = font.render(str(info), True, 'White')
    debug_rect = debug_surf.get_rect(topleft=(x, y))
    pygame.draw.rect(display_surface, 'Black', debug_rect)
    display_surface.blit(debug_surf, debug_rect)

"""Module with a debug function to print data to the game screen"""
import pygame
pygame.init()
font = pygame.font.Font(None, 30)

# pylint:disable=invalid-name


def debug(info, y=10, x=10):
    """ Prints debug info to the screen"""
    display_surface = pygame.display.get_surface()
    debug_surf = font.render(str(info), True, 'White')
    debug_rect = debug_surf.get_rect(topleft=(x, y))
    pygame.draw.rect(display_surface, 'Black', debug_rect)
    display_surface.blit(debug_surf, debug_rect)

Module with a debug function to print data to the game screen # pylint:disable=invalid-name Prints debug info to the screen