GithubHelp home page GithubHelp logo

teocicciari / retro-chess Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 110 KB

Basic chess ASCII for linux terminal with AI to play against, made for didatic purpose

License: GNU Lesser General Public License v3.0

C 90.58% Makefile 1.01% C++ 8.41%
chess ascii

retro-chess's Introduction

Retro chess

This is a chess program completely written from the ground in C Programming Language to be played on linux terminal.

I began to write it to strengthen my knowledge adquired in the course Algorithms and data structures II of my carreer, and it was improved along with my skills.

How to Play

Clone de repository:

git clone https://github.com/teocicciari/chessprogram.git

Generate the executable:

make

Execution:

./chessprogram

Play!

Moves

To move you need to use the chess standard notation, a quick guide:

  • e4 to move a pawn (the square to get).
  • Nf3 to move the Knight to f3.
  • Names: Q -> Queen, K -> King, N -> Knight, B -> Bishop, R -> Rook.
  • Nxe4 to capture a piece in e4. exd5 in the case of a pawn.
  • if, for example, two knights can go to the same square you need to include the row or column to determinate wich one you want to move: Nbd5, N5d4.
  • 0-0 for castle kingside, 0-0-0 for castle queenside.

retro-chess's People

Contributors

teocicciari avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sw3nlab

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.