aboutsummaryrefslogtreecommitdiff
path: root/client/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.py')
-rw-r--r--client/client.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/client.py b/client/client.py
index 7b7a3d6..f87eaba 100644
--- a/client/client.py
+++ b/client/client.py
@@ -6,7 +6,7 @@ import pygame
RESP_BUFFER_LENGTH = 1024
ip_adress="192.168.1.14"
-port=8090
+port=8080
LARGEUR_BLOCK = 10
NB_BLOCKS = 30
@@ -97,12 +97,12 @@ def main():
if updateTmp != None and 'TYPE' in updateTmp:
if updateTmp['TYPE'] != 'error':
up = updateTmp
- time.sleep(0.2)
- up = update(gameId)
+# time.sleep(0.2)
pygame.display.flip()
+ up = update(gameId)
pygame.quit()
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()