bonmorz / Gomoku_xb_two

This is the project for CSEE 4840, Spring 2024.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gomoku

This is the project for CSEE 4840, Spring 2024.

This project is to create a Gomoku game. This includes the basic game logic, AI algorithms, as well as a user-friendly interface that integrates with hardware components.

How to Run

To simply test the game logic and AI function, switch to branch tsuki

To play in the terminal

change Makefile to:

# Player vs AI
SOURCES = ../src/gomoku.cpp ../src/players.cpp gomokuAI.cpp pve.cpp
# or
SOURCES = ../src/gomoku.cpp ../src/players.cpp gomokuAI.cpp evp.cpp

# or
# Player vs Player
SOURCES = ../src/gomoku.cpp ../src/players.cpp gomokuAI.cpp pve.cpp

To play with dummy GUI, use the default Makefile.

cd /alpha-beta, run

./run.sh

And begin to have fun.

In Terminal

image

Note the '@' means the last move (played by any player).

With GUI

image

References

https://www.geeksforgeeks.org/tcp-server-client-implementation-in-c/

About

This is the project for CSEE 4840, Spring 2024.


Languages

Language:C++ 61.3%Language:SystemVerilog 21.3%Language:Python 11.6%Language:C 4.7%Language:Makefile 1.1%Language:Shell 0.0%