Giter VIP home page Giter VIP logo

othello's Introduction

Othello

This project develops an AI to play Othello using the Minimax algorithm with Alpha-Beta pruning. The objective is to capture as many opponent's pieces as possible. Learn the rules on Wikipedia.

Interface

Currently, the game interface is terminal-based. Players enter their moves in the terminal. A user-friendly GUI is in development.

Dependencies

Ensure you have a modern C++ compiler (supporting C++17) and cmake (version 3.5 or newer).

Getting Started

Follow these instructions to get a copy of the project running on your local machine.

Cloning the Repository

Clone the repository with:

git clone https://github.com/muhamm-ad/Othello.git

Building and Running the Project

Navigate to the project root directory and run the provided script:

  • For Linux:
    chmod u+x run.sh
    ./run.sh
  • For Windows:
    run.cmd

The script automates building and running the game. After building, you can choose to run the game immediately, selecting 'X' or 'O' as your piece.

To run the game manually later, use:

  • For Linux:
    ./build/Othello <X|O>
  • For Windows:
    .\build\Othello.exe <X|O>

Replace <X|O> with 'X' or 'O', depending on the piece you want to play with.

Contributing

Contributions are welcome. Open issues or submit pull requests.

Authors

License

This project is licensed under the GNU General Public License V3.

othello's People

Contributors

muhamm-ad avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.