Skip to content

My chess program displays as a board and allows the user to play against an elementary AI. This was really my first project programming, and functioned as a nice summary of everything I had learned my freshman year in pursuit of something that I was interested in.

Notifications You must be signed in to change notification settings

aprancl/AI_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess AI project

  • Required files
  • chessai--verison13.py -/-This is the main program, and invokes all functions necessary to run the project

  • all .png files within Pieces and Pieces_2 folders -/- The main program will reference two groups of images, depending on user input, and will pull from these folders to carry out its functions.

  • Running the program
  • The user will be prompted with a decision to play either another user in the viscinity, or to play the computer
  • The user will then decide between using normal or alternate chess pieces
  • If the user decides to play another user, the board is free for use. Aside from pawns taking forward and pieces having the ability to jump over other pieces, players are forced to follow the rules of the game. The program will not accept illegal moves (other than the cases previously specified).
  • If the user decides to play against the computer, any imput (even if the user were to move black's pieces) will cause the AI to randomly move a piece. The AI is not bound by the rules of the game, and it can only see squares on the first 4 rows; however, it is functional.

About

My chess program displays as a board and allows the user to play against an elementary AI. This was really my first project programming, and functioned as a nice summary of everything I had learned my freshman year in pursuit of something that I was interested in.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages