Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess app

Mobile application for playing chess. Created with java. Allows to play with friend (offline), bot and simple game analysis.


1. Features

Playing with other player (same device) or against bot as white or black.

Position bar showing current advantage of players with ability to hide it. Moves are made by clicking a piece, which will show possible moves for it, and clicking one of possible squares.

Position bar can also show mate if found. Checks are shown by red square around king. After game finish (checkmate or tie). It will display dialog with analyze and replay buttons.

After choosing analyze, analyze desk will be displayed. Here you can view every move in game by clicking specific button. Analyze desk will display what move was played in this position, what was position score after move, best move considered by engine and position score after this move. Position bar will be changing while traversing chess game.


2. Algorithms

Bitboards

Every piece is represented by own 64 bit board. Moves and checks are generated by bit operations.

Engine move search

  • minmax
  • alpha-beta
  • iterative deepening
  • aspiration windows
  • sorting moves
    1. principal variation
    2. captures
    3. killer moves
    4. history moves
    5. others
  • transposition table

Position evaluating

  • game finish
  • material
  • positioning
  • pawn structure
  • closed/open position
  • number of attacked squares

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages