Skip to content

AI final project, this is a solver for the game-Sumplete. The solver uses Hill-climbing and Backtracking.

Notifications You must be signed in to change notification settings

lioraVes/Sumplete-Solver-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sumplete Game

Running the Code

image

Basic Command

To run the game with default parameters (one 4x4 game):

Game Modes

  1. Regular Game (Manual Mode)

    • Select "Manual" in the configuration window
    • Click "OK"
    • Play the game:
      • First click on a square: Mark with X (not selected)
      • Second click: Mark with O (selected)
      • Third click: Return to unmarked state
  2. Automatic Solver

    • Select an algorithm from the list in the configuration window
    • Click "OK" to watch the algorithm solve the puzzle

To exit without choosing an option, click "Exit".

Running with Parameters

You can customize the game run using the following flags:

  • --grid-size: Change the board size
  • --num-games: Run multiple games automatically (results printed to terminal)
  • --solver: Choose a specific solving algorithm

Example command with parameters: python SumpleteGame.py --grid-size 6 --num-games 2 --solver hill_climbing

Available Solving Algorithms

  • hill_climbing
  • backtracking_lcv

About

AI final project, this is a solver for the game-Sumplete. The solver uses Hill-climbing and Backtracking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages