Git Product home page Git Product logo

chess's People

Contributors

deib avatar kevinoconnor7 avatar newbrict avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kevinoconnor7

chess's Issues

Win / lose / stalemate

Along with #4 we need to do end-game checking including

stalemates ( no legal moves, 3 fold repetition, 50 move rule, impossible mates )

Player state

We need to store some player state which could be implemented alongside #5 and #4 so we can do captured pieces and points.

Castling

We have nothing implemented for castling yet, shouldn't be too bad but it has to happen

En passant

Another feature we need to implement at some point, this definitely depends on #1 so that has to get done first.

Capture logic

I know some areas aren't good with the capture logic, the pawn doesn't seem to work, didn't check everything else yet

Check logic

Have to implement checks ( ha ) for king.

Valid move checker

We need a move validity checker, imagine you move a piece and that caused the king to be in check. has to check for board state and what not

this probably needs #1

FEN parser

The current FEN parser only places pieces, it doesn't handle the remainder of the FEN string. Once #2 and #5 are done the FEN parser can be completed

Board History

We need to implement some sort of board history.
It would be good if we did this in algebraic notation since it's pretty standard and lots of other chess programs can read/import games like that.

Move params

From now on we add a third parameter to the move list

[x,y,type]

where type can be
"move"
"castle"
"en passant"
"capture"

which will simplify some things down the road.

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.