Files
python-chess/python_chess/mycontrols.py
T

13 lines
216 B
Python

from mymoves import *
import pygame
from pygame.locals import *
class Controller:
def __init__(self):
pass
def pressed(self):
return pygame.key.get_pressed()
print("mycontrols imported")