Fred Z
30de5f8096
Starts modif gameplay to multiplayer/network mode
...
I am pausing the devel here, I have to prioritise another project.
Doctests seems to be obsolete for testing network scripts.
I'll be back with Pytest!
2018-03-14 10:40:44 +01:00
Fred Z
44514971ef
Ajusts messages to clients in waiing-room
2018-03-14 10:40:19 +01:00
Fred Z
c075c17172
Improves broadcast()
: linked to list_sockets()
...
Now sends messages only to named-client, and for that uses
`list_sockets()`
Takes sender name from `_user_name` attribute and delete the name
argument from the method
2018-03-14 10:40:19 +01:00
Fred Z
dfaee27cc4
Fixes 2 syntax errors caused by fatigue
...
Forget to:
- rename the import instruction after renaming the file
- instance the map object after exporting it from the function
2018-03-14 10:40:18 +01:00
Fred Z
2df0513d89
Rename Map instance according GAME_NETWORK style
2018-03-14 10:40:18 +01:00
Fred Z
c7096ee757
Export Map instanciation in parent script
...
More readable and easier for adding multiplayer feature in the Map object
2018-03-14 10:40:18 +01:00
Fred Z
a501fd69bb
Add the waiting-room-loop before game begining
2018-03-14 10:40:18 +01:00
Fred Z
b659d0ff7f
Using the network to wait & connect client
...
Crash when MIN_CLIENT_NB is reached
2018-03-14 10:40:18 +01:00
Fred Z
315e7f9537
Create server, and remove backup feature
...
DONE TODO01
DONE TODO02
2018-03-14 10:40:17 +01:00