if (i,j,x,y) != (None,None,None,None): sock.send(str(i)+" " +str(j) + " " + str(x) + " " + str(y) ) Sended = True logger("client.txt","send()") cross[i][j] = WHITEPIECE pygame.event.set_blocked(MOUSEBUTTONUP) pygame.draw.circle(DISPLAYSURF,WHITE, (x,y), 10) pygame.display.update() FPSCLOCK.tick(FPS) if is_win(cross,i,j): DISPLAYSURF.blit(YOUWIN_SURF,YOUWIN_RECT) pygame.display.update() pygame.time.wait(WINWAITTIMEMILLESEC) pygame.quit() sys.exit()
f19
最新推荐文章于 2023-02-25 21:55:53 发布