8000 GitHub - jlokitha/connect-4-game: A classic Connect Four game featuring two-player mode and an AI opponent powered by Monte Carlo Tree Search (MCTS), offering an exciting and strategic gameplay experience.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A classic Connect Four game featuring two-player mode and an AI opponent powered by Monte Carlo Tree Search (MCTS), offering an exciting and strategic gameplay experience.

License

Notifications You must be signed in to change notification settings

jlokitha/connect-4-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing Connect Four Game

Enjoy the classic Connect Four game! Choose GREEN or BLUE discs, aim to connect four in a row, and outsmart your opponent. Block their moves, strategize, and secure victory in this exciting head-to-head challenge!

Project Overview

This Connect Four implementation uses Monte Carlo Tree Search (MCTS) for advanced AI gameplay. Challenge a smart computer opponent or a friend in a thrilling duel of strategy and wits!

Key Features

  • Two-Player Mode: Challenge a friend in a traditional Connect Four battle.
  • AI Opponent: Test your strategy against a computer player powered by MCTS for realistic and intelligent gameplay.
  • Modern Design: A visually appealing grid and smooth gameplay mechanics enhance the overall experience.

Getting Started

Follow these steps to set up and run the game on your local machine:

  1. Clone the repository:
    git clone https://github.com/jlokitha/connect-4-game.git
  2. Open the project in IntelliJ IDEA:
    • Open the pom.xml file.
    • If prompted, select "Open as Project."
  3. Reload the Maven dependencies via the Maven Tool Window.
  4. Configure the run settings:
    • Navigate to Run > Edit Configurations.
    • Create a new Maven configuration.
    • Set the command to javafx:run.
  5. Run the configuration to launch the game.

License

This project is distributed under the MIT License. Feel free to use, modify, and share it as per the terms of the license.


© 2023 Janindu Lokitha

About

A classic Connect Four game featuring two-player mode and an AI opponent powered by Monte Carlo Tree Search (MCTS), offering an exciting and strategic gameplay experience.

Topics

Resources

License

Stars

Watchers

Forks

0