HuskyDoge commited on
Commit
7fefc87
1 Parent(s): f0dd6f5

fixed bugs

Browse files
Files changed (4) hide show
  1. .DS_Store +0 -0
  2. Gomoku_MCTS/game.py +2 -1
  3. app.py +7 -0
  4. const.py +7 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
Gomoku_MCTS/game.py CHANGED
@@ -6,13 +6,14 @@ Description: to be completed
6
  Edit History:
7
  - 2023/11/18, Sat, Edited by Hbh ([email protected])
8
  - added some comments and optimize import and some structures
 
 
9
  """
10
 
11
  import numpy as np
12
  from mcts_pure import MCTSPlayer as MCTS_Pure
13
  from mcts_pure import Human_Player
14
  from collections import defaultdict
15
- from typing import Optional
16
 
17
 
18
  class Board(object):
 
6
  Edit History:
7
  - 2023/11/18, Sat, Edited by Hbh ([email protected])
8
  - added some comments and optimize import and some structures
9
+ - 2023/11/19, Sun, Edited by Hbh ([email protected])
10
+ - added an API for retrieving simulation time
11
  """
12
 
13
  import numpy as np
14
  from mcts_pure import MCTSPlayer as MCTS_Pure
15
  from mcts_pure import Human_Player
16
  from collections import defaultdict
 
17
 
18
 
19
  class Board(object):
app.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  import streamlit as st
2
  # 设置页面配置
3
  st.set_page_config(
 
1
+ """
2
+ FileName: app.py
3
+ Author: Benhao Huang
4
+ Create Date: 2023/11/19
5
+ Description: Main Page of our Demo
6
+ """
7
+
8
  import streamlit as st
9
  # 设置页面配置
10
  st.set_page_config(
const.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  import numpy as np
2
 
3
  _BOARD_SIZE = 8
 
1
+ """
2
+ FileName: const.py
3
+ Author: Benhao Huang
4
+ Create Date: 2023/11/19
5
+ Description: Some const value for Demo
6
+ """
7
+
8
  import numpy as np
9
 
10
  _BOARD_SIZE = 8