Skip to content

Implementation of a chess game written on golang language. University project contains GUI, AI and Server-client part.

License

Notifications You must be signed in to change notification settings

ivamilusheva/ChessGoGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChessGoGame

Implementation of the well-known chess game written on golang language. University project contains GUI, AI and Server-client part.

Implementation of the base game

Everybody knows what a base chess game is. If you are not sure, you can check here.

List of the extra functionalities

  1. Possibility of playing agains AI or another online connected player.

  2. Possibilities of revert your turn through the Undo button. Your oponent can Accept or Deny your revert. If you are playing against AI you will be able to revert anytime.

  3. You will be able see your possible moves during the game.

How to run the game

  1. Run go get -v github.com/ivamilusheva/ChessGoGame/pkg/game

  2. Import the package in your main package

  3. Initialize Board, Node and Game as configured below. The recursion level is being set in the Game constructor.

    var board game.Board

    areWeWithWhite := true

    board.New(areWeWithWhite)

    board.PrintMatrix()

    var currentNode game.Node

    currentNode.New(board, 0)

    var game game.Game

    game.New(currentNode, 4)

    game.PlayGameWithAI()

About

Implementation of a chess game written on golang language. University project contains GUI, AI and Server-client part.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published