Skip to content

A chess game with console and GUI modes and an option to play against AI in 5 different levels

Notifications You must be signed in to change notification settings

guryaniv/Chess-In-C

 
 

Repository files navigation

Chess-In-C

An interactive chess program that applies graphical user interface (GUI) and artificial intelligence (AI) based opponent.
Final Project for C programming course at Tel Aviv University. See- Instructions.

AI:

For AI, the Minimax algorithm with pruning will be used. The depth of the MiniMax (or the number of steps to look-ahead) is defined in the difficulty level.

Console and GUI:

The program has two modes:

  • Console mode
  • graphical mode (Gui mode) - The graphical mode presents the user with visual menus and controls enabling the user to play Chess, choose the game’s players (user vs. user or user vs. computer, and set the game’s difficulty level in case the user is playing against the computer.

GUI and Console example

Special Features:

  • Save a game
  • Undo a move
  • Pawn promotion
  • Castling move

About

A chess game with console and GUI modes and an option to play against AI in 5 different levels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.8%
  • Objective-C 2.2%
  • Makefile 1.6%
  • C++ 1.4%