Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (37 loc) · 1.08 KB

AIGoBang

請修改 template.py 中的 user function,不要修改其中的 main function 若要測試執行,請修改 game_set.py 中的設定,然後跑main.py

Install

pip3 install pygame

for Windows, it's recommended to

python3 -m pip install pygame

Eessential Code:

https://github.com/howard9199/AIGoBang

Pre-install:

VSCode
Python3
Live Share VSCode Extension (for NTNUCSIE Camp only)
pip3 install pygame

Intro

Competition System: main.py(DO NOT EDIT)
Setting Competition System: game_set.py
Template: template.py
Useful functions: simplelib.py(DO NOT EDIT)
Constant: variables.py(DO NOT EDIT)

Execute

Please set up game_set.py, and run python3 main.py
WARNING! The competition system can't execute your code if python3 not installed

Feature

  1. Mouse vs Computer test mode(mode=2)
  2. Competition mode(mode=3)
  3. Show the current stone
  4. Kill process when TIME LIMIT EXCEEDED
  5. Adjustable(using game_set.py)
  6. Subprocess?
  7. Sound effect(Can't hear if you use school computer, haha)
  8. Grouping system
  9. Round-robin tournament