bulls and cows, server and client implemented using websocket