Skip to content

Instantly share code, notes, and snippets.

import os
def move(side):
illegal = 1
while illegal:
row = int(input("row: "))
column = int(input("column: "))
if board[row][column] == ' ':
if (side % 2) == 1:
board[row][column] = 'X'
import pygame as pg
pg.init()
display_width = 800
display_height = 600
gd = pg.display.set_mode((display_width,display_height))
pg.display.set_caption('Coldare')