Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.52 KB

README.md

File metadata and controls

48 lines (27 loc) · 1.52 KB

Gaining-Territory

건국대학교 인공지능 수업 땅따먹기(Gaining_Territory) 게임

스크린샷 2023-11-07 오전 11 35 32

Make your own algorithm for the machine!

코드를 다운(clone) 받으면, 초기에는 머신이 랜덤으로 선을 긋습니다.

게임을 이기기 위해서 알고리즘을 생성해 보세요!

알고리즘은 machine.py 내부에 MACHINE class를 수정해야 합니다.

변수를 추가할 수도 있고, 함수를 추가할 수도 있습니다.

하지만 최종 결과는 find_best_selection을 통해 반환해야 한다는 점을 명심하세요.

If you download(clone) the codes, the machine select a line to draw randomly at the initial moment.

You should make an algorithm for the machine to win the game!

For this, you have to modify the MACHINE class in the machine.py.

You can add some variables, or even make a new function in it.

But note that you have to return the final output via find_best_selection function.

How to play the game?

  • Prepare the Environment
# Install tkinter
pip install tk
pip install shapely

# Clone the repository
git clone https://github.com/JONHYOJIN/Gaining-Territory.git
  • Play the GUI
python main.py