Coder Social home page Coder Social logo

c4chess's People

Contributors

waifro avatar

Stargazers

 avatar  avatar

c4chess's Issues

White's attack on king won't work

if Black king is under attack, it wont detect it, without leaving any trace's on which is causing the bug.
After further investigation, nothing seems to be broken.

Black attack works.

FEN_Init() problem with which player to init

looks like that the FEN_Init function, when it generates the piece's, it doesnt give correct order to pawn's & black pawn's.

The initialization works perfectly on white's prospective, but on black prospective, it uses wrong assignement's (example it use's white pawn direction, not black's direction) , not correlated to initial setup.

Can be fixed in two ways:

  • redisign how piece's recieve input for generating pattern's/path's (and work on prospective view, not on individual way).
  • fixing by assembling black's prospective.

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.