Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Sweeper

Terminal Sweeper is a program that runs Mine Sweeper in your terminal. Terminal Sweeper is also capable of solving Mine Sweeper Games for you. The goal of this repository is to create an accurate and highly optimized Mine Sweeper Solver.

Game of Mine Sweeper on Terminal Assist Mode

Controls

  • Arrow keys or WASD to move cursor around
  • Enter or E to click a tile or click a menu
  • Delete or Q to flag a tile
  • F to enter/exit assist mode

How To Compile

NOTE: Compilation requires that you have CMake and a C++ Compiler installed.

    cd /path/to/project/
    mkdir -p build && cd build 
    cmake ..
    make

How To Run

    # Linux / Mac OS
    ./bin/MineSweeperSolver

How To Run Tests

    # Linux / Mac OS
    ./bin/test/<ModuleName>

How to Run Benchmarks

    # Linux / Mac OS
    ./bin/benchmark/<ModuleName>

Packages Used

Todo

  • Use the expected value of how many tiles will be gained per click to determine next click.
  • Create batchscript to add Terminal Sweeper to paths for easy launch.
  • Add option to switch from keyboard control to mouse control.
  • Multi Thread Solution Finder

About

Mine Sweeper Game with Mine Sweeper Solver built in.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages