1. 01 Dec, 2018 1 commit
  2. 22 Nov, 2018 1 commit
    • Sylvain Bouveret's avatar
      Timeout for moves · 641be52d
      Sylvain Bouveret authored
      The readline() waiting for the move to arrive in the server has been
      encapsulated in an asyncio.wait_for in order to add a possible timeout
      for the moves.
      If the move is not received before the timeout, the other player wins.
  3. 23 Aug, 2018 4 commits
  4. 22 Aug, 2018 16 commits
  5. 21 Aug, 2018 4 commits
    • Sylvain Bouveret's avatar
      A first simple automatic runner · 38a91644
      Sylvain Bouveret authored
      The first example of a program that automatically runs an hexgame server
      instance and two clients. Based on multithreading.
    • Sylvain Bouveret's avatar
      Server now closes after one game · 4163076a
      Sylvain Bouveret authored
      Instead of accepting new connections after a game is finished, the
      server now gracefully shuts down. This will be much easier to schedule
      automatic runs.
    • Sylvain Bouveret's avatar
      Flushing stdout after printing · 47bc9213
      Sylvain Bouveret authored
      Since the server and clients will be used as subprocesses inside a
      parent program, it is necessary to flush the standard output after
      printing (otherwise the parent process will not see anything before the
      end of its subprocesses).
    • Sylvain Bouveret's avatar
      Initial commit · 8c34ac83
      Sylvain Bouveret authored