aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerberdes@gmx.com>2019-05-12 10:53:22 +0200
committerLoic Guegan <manzerberdes@gmx.com>2019-05-12 10:53:22 +0200
commit9de3c7586dc97209aef5b436d0c5e7657f711c72 (patch)
tree5d6f5344d9d71fc148436e6d72d620fccce96ded
parente087c17c0536964950282177646ee81aba40699e (diff)
Update client
-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()