Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 663 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 663 Bytes

Connect4-Network-Game

Project implementing Connect Four game. Consists of 3 programs:

  • Server - runs the game.
  • HumanPlayer - allows user to connect to the server and play game via simple console interface.
  • ComputerPlayer - AI based on Monte Carlo Tree Search. Connects to the server and plays game automatically.

Prerequisites

Project uses stack.

Usage

From root directory:

  • building - stack build
  • run Server - stack exec Server-exe [port]
  • run HumanPlayer - stack exec Client-exe [host] [port]
  • run ComputerPlayer - stack exec Client-MCTS-exe [host] [post]