Skip to content

Johnnyallen07/Java-Chess-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Chess-Engine

A chess game build by Java Swing lib

Demo

Functionality

  • pawn-race: Player can choose which column should be the gap or randomly chosen by the program.
  • standard game: Player vs Player; the standard game rule (I hope the rule is "standard" because idk how to play chess
  • play with AI: implemented by minimax alpha beta pruning algorithm

AI Player

  • There are three difficulties: easy, medium, and hard, corresponding to 2,3,4 depths of search of the algorithm (I can't even beat AI with easy difficulty...)
  • AI player is BLACK by default

Small Tips

  • WHITE side first in any mode
  • close side frame after choosing specific gap or renew the game after winning.

Further Implementation

  • Optimization: run time
  • Frame layout
  • more functionalities...

About

Implemented by Java swing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages