Skip to content

AIGoBang is a 5 hours course in NTNUCSIE CAMP2022. This course is designed for beginners, and they can learn basic skills from designing the gobang gaming agent with Python.

Notifications You must be signed in to change notification settings

howard9199/AIGoBang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AIGoBang is a 5 hours course in NTNUCSIE CAMP2022. This course is designed for beginners, and they can learn basic skills from designing the gobang gaming agent with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages