GithubHelp home page GithubHelp logo

cli-chess's Introduction

Chess

Little chess game you can play in your console

This was one of my first projects so my codingstyle is very bad, I changed it since (at least I think so...)

How to start

Clone the repository install the necessary packages with pip and execute the main.py file with python3

pip install -r ./requirements.txt
python3 main.py

Controls

You control the game within your console. You and your friend move your pieces with inputs in the format a1a2

Write commands to see all the available commands

TODO

Easy stuff to add

What else I would like to add if I would have the time

  • Better Commands (grep moves of specific piece)
  • Multiplayer
  • Computer as opponent
  • GUI (but probably not since it's a CLI-Chess project)

Done

  • Moving pieces
  • 'eating' pieces
  • not moving pieces when they set you in check
  • game ends when King is checkmated
  • rochade
  • Undo moves
  • Remis/Draw
  • Fixed some bugs

cli-chess's People

Contributors

mrspoony avatar muellerlionel132411undloeffelkimi132407 avatar

Watchers

 avatar

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.