FailWhaleBrigade / water-wars

Game in Haskell
Other
14 stars 4 forks source link

Server should serve different maps #5

Closed fendor closed 6 years ago

fendor commented 6 years ago

Different Maps on each round

It should be possible to pass different maps to the server and after a player won a round, a different map should be loaded. If all play fields have been exhausted, the server should start at the beginning, e.g. cycle through the available maps.

For this, it would be sensible to provide a command line options to pass in file locations for different map layouts. This issue is related to #4, but should have no crossover in the implementation, for this is mainly a change in the command line parser and the event loop while the other will change the protocol and resource loading.

fendor commented 6 years ago

I will take care of this. I'll start by adding a flag for a single map.

fendor commented 6 years ago

Closed by #10