game implemented with message-passing in python