Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ChessGen

Browser-playable chess plus the original Java console implementation.

Web version

Open web/index.html in a browser to play.

Files:

  • web/index.html for the page structure
  • web/styles.css for the board and layout (dark glass theme, animated board)
  • web/engine.js for pure chess rules and state (no DOM — Node-testable)
  • web/ai.js for evaluation and search
  • web/app.js for the UI: rendering, input, sound, history

Features:

  • Full legal move validation, verified against known perft counts
  • Check, checkmate, stalemate, and draw detection (fifty-move rule, threefold repetition, insufficient material)
  • Castling, en passant, and promotion
  • Click-to-move board with last-move and in-check highlighting, board flip, and undo
  • Move history in algebraic notation and a live captured-material tracker
  • Iterative-deepening minimax AI with alpha-beta pruning, quiescence search on captures, and piece-square-table evaluation, bounded by a per-move time budget
  • Synthesized sound effects (no external audio assets)

Java console version

javac -d out src\chess\*.java
java -cp out chess.ChessConsoleApp

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages