#101 code refactored
#102 player buttons displayed according to connected players