Giter VIP home page Giter VIP logo

pixel-chess's People

Contributors

floreapaun avatar tvelican avatar vel1khan avatar zaheudev avatar

Watchers

 avatar  avatar

Forkers

zaheudev

pixel-chess's Issues

BUG: Castling does not work

When castling, the position of the rook piece is not updated on client-side.
Potential fix: Check move flags from chess.js to determine if it is a king/queen-side castle and adapt accordingly on client-side

Draw popup before starting the game

After pressing the 'Play now!' button this is happening:
Screenshot_2021-02-14 Pixel Chess

So I'm pushing 'Okay' just wondering what will be next. Without any move in the game and the program makes me dumb!

Screenshot_2021-02-14 Pixel Chess(1)

BUG: Pawn promotion does not work

Chess.js requires extra parameters to be fed into .move() for promotion to work. As of now, you can't even move the pawn as it sees the move as illegal due to the missing parameter.

Timer desynchronization

The timer is desynchronizing after a time.
Potential fix: Update the timer on server side not on client side

BUG: Server sends redundant cell numbers on turn message

When a client receives a turn message, the received array containing the cells that have pieces that can be moved contains some of the same cell numbers repeated more than once as the same piece can have multiple moves.

Not a massive problem but leads to a small increase in bandwidth overhead and client-side processing.

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.