Skip to content

wendellavila/chess_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChessJava

Terminal based Chess game written in Java

Terminal interface

How to play

  • To move a piece, specify the origin and destination square
    e2e4 d2-d3 a1 a5
  • To visualize the possible moves of a piece, use the word "tip" followed by the square the piece is in
    tip c2
  • To resign, type "resign".
    resign
  • To propose a draw by agreement, type "draw".
    draw

What works

  • Any chess move
  • 2 player game
  • Board visualization
  • List of recent moves at the right side of the board
  • Seeing a piece's possible moves
  • Bad input treatment
  • Draw by agreement
  • Resignation
  • Replaying match history after match end

What wasn't implemented

  • Automatic checkmate detection (you need to capture the King for the checkmate to be registered, even when there's no way to avoid it)
  • Draw by stalemate
  • Player vs AI
  • Draw by repeated moves, 50-moves no capture, etc.

About

Terminal-based chess game made with Java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages