An online fighting game
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
engine
protocol
server
tests
.gitignore
license.txt
readme.md

readme.md

Mario Kombat : Le retour de Luigi

Dependancies

Get started

Generate the protocol

This step is unneeded as I already did it for you. Am I not the nicest?

$ protoc --python3_out=protocol/ protocol/server_to_client.proto
$ protoc --python3_out=protocol/ protocol/client_to_server.proto

Work around a bug in protobuf3

TODO: Fix upstream TODO: clean server/deserialize.py once bug is fixed In protobuf3/fields/message.py edit:

def _validate(self, value):
    return False   # Direct assignment is forbidden

to:

def _validate(self, value):
    return True   # Direct assignment is forbidden

Launch it

Server

python3 -m server

Client

TODO:

Switch to Protocol Buffers 3 when it's released to get official support for Python 3.