Giter VIP home page Giter VIP logo

terminal-chess's Introduction

Terminal-Chess โ™Ÿ๏ธ

A terminal chess Made using cpp and ncurses

To compile

g++ -g main.cpp init_win.cpp init_colours.cpp calc.cpp piece.cpp piece_man.cpp write.cpp move_rule.cpp move_piece.cpp movement.cpp obs_rec.cpp score.cpp history.cpp -o terminal_chess -lncurses

To run

./terminal_chess

To compile and run

Just run the script run.sh which will compile and run automatically on your terminal

Pre requisite

Before compiling make sure you have ncurses install if you are on windows. If you are on linux you can compile straight away compile

Sugesstions

Before running make sure your terminal is in full screen mode to avoid cutting of of the chess board from the end

Features

  • intelligent obsatcle recognition
  • user friendly error feedback
  • score analytic of both side
  • en passont move support
  • pawn promotion move support
  • colored turn banner for ease
  • history of all move played
  • outputting history to a text file
  • last move highlight

Planned Features

  • mouse based movement
  • castling move support
  • player timer support
  • arrow key based movement
  • intelligent legal move highlight for beginners

Bugs

none ... contact me if you find any or submit an issue at Issues

terminal-chess's People

Contributors

mnmustafa1109 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

terminal-chess's Issues

Can't compile

When I try to use run.sh, this happens:
image
And when I try to run the code manually from source folder, it doesn't work either.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.