My 2d framework based on pygame and websocket