Giter VIP home page Giter VIP logo

chesshub's Introduction

ChessHub

Random Notes

Need to implement some form of caching in the game explorer parsing

  • Large numbers of games are really going to drag down the performance of this component

API Calls

Chess.com

https://www.chess.com/news/view/published-data-api#pubapi-endpoint-player-stats https://api.chess.com/pub/player/shadogi/stats

https://api.chess.com/pub/player/shadogi/games/archives

Lichess.org

https://lichess.org/api/user/hammonjj https://lichess.org/api/user/hammonjj/activity https://lichess.org/api/games/user/hammonjj https://lichess.org/api/games/user/hammonjj?sort=dateDesc

  • since=

https://lichess.org/api#tag/Games/operation/apiGamesUser

https://chess.wintrcat.uk/ https://github.com/WintrCat/freechess/tree/master

Stockfish Messages:

Message to Post: setoption name MultiPV value 3: Generate up to 3 best moves/variations.

position [fen | startpos] moves [movelist]: Sets the current position.

  • position startpos: Sets the board to the starting position.
  • position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1: Sets the board to a specific position using the FEN notation.
  • After specifying the position, you can append a series of moves to reach the current position from the given starting point.

go depth [depth]: Starts the analysis to a specific depth.

  • Example: go depth 20 tells Stockfish to analyze the position down to 20 ply (half-moves). go movetime [time]: Analyzes the position for a given amount of time in milliseconds.

Random Useful Links

https://syzygy-tables.info/ https://github.com/lichess-org/mobile/tree/main https://github.com/lichess-org/chess-openings https://github.com/lichess-org/lila-tablebase https://lichess.org/api#tag/Analysis https://github.com/alan2207/bulletproof-react?tab=readme-ov-file https://www.material-react-table.com/ https://github.com/bvaughn/react-error-boundary

Game Phases

Should I investigate using a cloud function to parse/analyze the games to get these stats consistently?

Middlegame

Starts when:

  • There are 10 or fewer major or minors OR
  • The back rank is sparse OR
  • The white and black pieces are sufficiently mixed on the board
  • This can likely be part of the back rank is sparse

Endgame

Late game starts when there are 6 or fewer major or minor pieces

https://github.com/lichess-org/scalachess/blob/master/src/main/scala/Divider.scala

OAuth Providers

Supabase Docs

https://supabase.com/docs/guides/auth/social-login/auth-google#configure-your-services-id

chesshub's People

Contributors

hammonjj avatar

Watchers

 avatar

chesshub's Issues

Add Widgets to Dashboard

ELO Change Over Time:

  • Last 7 days
  • Last 30 days
  • Last 90 days

Win Rate Over Time (By Color):

  • Last 7 days
  • Last 30 days
  • Last 90 days

Fix Stockfish Line Notation

Stockfish spits out lines like this:

h7h6 e2e4 f8c5 b1c3 g8e7 d1e2

It needs to be made such that it looks like normal PGN notation

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.