Skip to content

remotecup/SnakeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RemoteCupGames

How to run game?

cd RemoteCupGames

change Conf/conf.py to select game

python3 server.py or ./server.py

python3 client.py or ./client.py

python3 client.py or ./client.py

.

.

.

python3 monitor.py or ./monitor.py (if load speed of your monitor is slow, please remove "/usr/bin/ibus-daemon" why? I don't know)

Simple Game

change game to 'Simple' in conf.py

change server config in ./Conf/Server_Simple_Conf.py

run server.py

run client.py for each client

run monitor.py and press ctrl+c to connect

to change algorithm in python ...

in monitor_config

monitor_height=800  # set height for monitor window
monitor_width=800   # set width for monitor window