runs a connect game with a board k by n size