diplomacy-server (hackage):   Package maintainers  For package maintainers and hackage trustees  Candidates    Play the board game Diplomacy over HTTP. Players may participate via their own private devices, so long as they have network capabilities and a good web browser.  Start by installing the program.  ```bash` git clone git@github.com:avieth/diplomacy-server.git cd diplomacy-server cabal install  When running the server, the key and certificate file locations can be specified using -k and -c respectively; the defaults are ./server.key and ./server.pem. When running the server you must also give a username and password for the administrator. These credentials allows you to create, start, advance, pause, and destroy games.  The default port is 4347, but this can be changed using --port. With the server running, navigate to https://<host>:4347/v1.0.0/diplomacy to begin playing via the simple but effective web client. The workflow is as follows:  The game will advance automatically unless the adminstrator pauses the game. In this case, the game will advance only when the adminstrator explicitly advances it, at which point the automatic advance feature kicks in again. This is useful for putting a game on indefinite hiatus.  The file client.html is a barebones, not-so-user-friendly interface for players and administrators (game-masters, if you will). It should provide all necessary functionality to play a complete match, and should work properly on all smartphones and personal computers with up-to-date web browsers.  To input typical and retreat phase orders using this client, one must type the order object as it would be written in a pen-and-paper game; the map is not interactive, but this would be a nice improvement.  A better HTML/JavaScript client, or even native iOS and Android clients, would be very nice to have. Ideally, we could use the definitions of the diplomacy Haskell library to produce these clients. This way, we don't need to reproduce the basic definitions like those related to provinces and their adjacency, and we could also use order validation definitions to give helpful feedback when the user attempts to input a new order (highlighting valid move targets or support subjects, for instance).  This program uses the rest package, but it doesn't give a RESTful API; the server is stateful. This package was chosen because it was relatively quick and easy. It ought to be swapped out for something which
Keywords: bsd3|program|unclassified