kjsbot / c-pp-hess

C++ Chess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Chess

To play, clone the program - make sure you have a GCC compiler

The board is made up of unicode characters:

       Player 2 (Black)
8 | ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
7 | ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
6 | ·  ·  ·  ·  ·  ·  · ·
5 | ·  ·  ·  ·  ·  ·  · ·
4 | ·  ·  ·  ·  ·  ·  · ·
3 | ·  ·  ·  ·  ·  ·  · ·
2 | ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
1 | ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
     a  b  c  d  e  f  g h
      Player 1 (White)

note: make sure your terminal background is a dark color, otherwise the piece colors will be inverted

To Do:

  • Completely rewrite/improve the OOP logic
  • Fix en passent
  • Computer opponent is acting weird
  • Resources

    https://www.chessprogramming.org/Main_Page
    https://www.chess.com/learn-how-to-play-chess
    https://www.cs.cornell.edu/courses/cs312/2002sp/lectures/rec21.htm

    About

    C++ Chess


    Languages

    Language:C++ 100.0%