Implemented win checking and space checking