Skip to content

This is a small project to create AI for Othello using C with openGL GLUT. Othello is a strategy board game for two players (Black and White), played on an 8 by 8 board. The game traditionally begins with four discs placed in the middle of the board.

Notifications You must be signed in to change notification settings

Viet281101/OthelloAI

Repository files navigation

AI for Othello Game

GitHub code size in bytes Github language count GitHub Created At

An Othello game with AI using C language and OpenGL GLUT. There are 2 game modes: playing with a human and playing with artificial intelligence.

To learn how to play Othello, click on the following image:

alt text

Compilation

Prerequisites:

  • Install Make with the command:

     sudo apt-get install make
  • And install GLUT:

     sudo apt-get install freeglut3 freeglut3-dev

    or

     sudo apt-get install libglut3-dev
  • Clone the project from my GitHub to your computer:

     git clone https://github.com/Viet281101/OthelloAI.git

To compile the game:

  • Go to the project directory "AI_Player" or "Human_Player"
     cd Human_Player/
    or
     cd AI_Player/
  • Compile with the Makefile:
     make

Launch:

  • Run the othello file
     ./othello

Clean:

  • Clean the files with make:
     make clean

About

This is a small project to create AI for Othello using C with openGL GLUT. Othello is a strategy board game for two players (Black and White), played on an 8 by 8 board. The game traditionally begins with four discs placed in the middle of the board.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published