I created a game board:
win = GraphWin ("Gameboard",500,500)
win.setCoords(0.0,0.0,10.0,10.0)
drawBoard(win)
for i in range(10):
Line(Point(0,i),Point(10,i)).draw(win)
for x in range(10):
Line(Point(x,0),Point(x,10)).draw(win)
I have a 10x10 grid, of which the playable range is going to be from (2,2) to (9,9). For any grid marks with x = 1, x = 10, y = 1, or y = 10, I want those sections of the grid to be black and form a border. I have been enlisting google regarding how to do this, but I haven't found a fill option that seems applicable. Could someone point me in the right direction?