scoring system added for single player
working socket io