소스 검색

announce gameID and location at the start

George C. Privon 7 년 전
부모
커밋
97882a07d8
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      CHANGELOG.md
  2. 2 0
      cgame.py

+ 1 - 0
CHANGELOG.md

@@ -8,6 +8,7 @@
 
 * Add turn length vs turn number plot to `analysis/SampleAnalysis-SingleGame.ipynb`.
 * Reorder game initilization so that most of the info can be entered before the player order is determined.
+* Announce gameID and location at the start.
 
 ### 0.4.1 (18 November 2018)
 

+ 2 - 0
cgame.py

@@ -125,6 +125,8 @@ class cgame:
         self.conn.commit()
 
         self.gameID = gID[0]
+        
+        _sys.stdout.write("Start game #{0:d} in ".format(self.gameID) + location + "\n")
 
 
     def getPlayers(self):