import collections

class LedInterface():

    def __init__(self):
        pass

    def turn_on_led(self, position):
        print("Takes a chess coordinate pair (position) to turn on an LED to show initial position")


    def turn_off_led(self, position):
        print("Takes a chess coordinate pair (position) to turn off an LED")


    def start_blinking_led(self, position, blink_interval):
        print("Makes the LED start blinking in order to show the user where to move the piece to")


    def stop_blinking_led(self, position, blink_interval):
        print("Makes the LED stop blinking")

@@ -11,16 +11,57 @@
 lections
+%0Afrom chess_position import ChessPosition
 %0A%0Aclass 
@@ -113,12 +113,54 @@
     
-pass
+self.chess_pos = ChessPosition(self, col, row)
 %0A%0A  
@@ -179,32 +179,32 @@
 n_led(self, 
-position
+col, row
 ):%0A        p
@@ -324,24 +324,24 @@
 d(self, 
-position
+col, row
 ):%0A     
@@ -443,32 +443,32 @@
 g_led(self, 
-position
+col, row
 , blink_inte
@@ -607,24 +607,24 @@
 d(self, 
-position
+col, row
 , blink_

Add files via upload