Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 20 2019 18:10

    rsvp on master

    Add img/chessboard-algebraic.gi… Add img/chess-prob-piece-move.g… (compare)

  • Nov 13 2018 22:55
    herbgoodwin starred rsvp/chess
  • Jul 01 2018 21:04
    jibolash starred rsvp/chess
  • Mar 17 2018 18:12
    rsvp updated the wiki
  • Feb 10 2018 23:29
    rsvp updated the wiki
  • Feb 09 2018 21:18
    rsvp updated the wiki
  • Feb 09 2018 20:43
    rsvp updated the wiki
  • Jan 27 2018 17:09
    rsvp updated the wiki
  • Jan 25 2018 17:38

    rsvp on master

    bin/lich-game: Change positiona… (compare)

  • Jan 25 2018 16:55

    rsvp on master

    Update README.md about https://… (compare)

  • Jan 25 2018 16:39

    rsvp on master

    Add bin/lich-game: get game(s) … bin/lich-game: parseURL functio… (compare)

  • Jan 24 2018 20:12
    rsvp updated the wiki
  • Jan 24 2018 20:04
    rsvp updated the wiki
  • Jan 24 2018 19:55
    rsvp updated the wiki
  • Jan 12 2018 15:34
    questsin starred rsvp/chess
  • Jan 04 2018 10:01
    cohonas starred rsvp/chess
  • Dec 30 2017 08:00
  • Dec 29 2017 15:27
    rsvp updated the wiki
  • Dec 28 2017 18:47
    rsvp updated the wiki
  • Dec 28 2017 16:18
    rsvp updated the wiki
fonkap
@fonkap
7k/pp5p/2p3r1/3pPb2/5p2/2P2BNq/PP1Q1P1P/5R1K b - - 4 38
imagen.png
after 38... fxg3
  1. a3 is just as bad as 39.fxg3
but the former seems like giving up. Almost insulting. Any human will do the later.
Manik Charan
@Mk-Chan
Yea that's why i said objectively :-)
fonkap
@fonkap
:smile:
Manik Charan
@Mk-Chan
My program often promotes to a rook when it is surely going to be captured. I don't think anyone would do that lol
Most maxims that i know i believe are already in the repository
Adriano
@rsvp

@fonkap hi and Welcome! Look at some of the maxims you cited... Thank you!
New: 11 maxims rsvp/chess@5b3cd3a

BTW, how did you get the FEN to visually appear within your comment above? (Magic markdown syntax?)

fonkap
@fonkap
thanks !
nono, I just pasted the fen and then pasted the board as an image
not very sure how, I copied the image to clipboard and pasted here hehe
btw I used superawesome software LucasChess to copy the board as image to clipboard :smile:
Adriano
@rsvp
Just invited @lukasmonk -- and here is the repo: https://github.com/lukasmonk/lucaschess -- the install option at his website only gives .exe Windows file, so wondering if it can run cross-platform since the code base is Python (but maybe not the GUI part). cc: @fonkap
fonkap
@fonkap
yes! I know that repository, I actually made a couple of pr's. The code is indeed multiplatform, gui are made with QT, I think it requires some work to work in linux or mac, though.
And as far as I know @lukasmonk is now working on a new version in https://github.com/lukasmonk/lucaschess_11 and it has better multiplatform support.
Adriano
@rsvp
@fonkap Qt should be cross-platform, esp. with its Python API. I noticed in the development version, there is a Linux installer, so that's encouraging. Maybe a Docker image would then work for everyone.
fonkap
@fonkap
@rsvp I'm not sure I understand, if there is an installer it should work isn't it? Why is a docker image needed? And btw, does docker work with graphical applications?
Adriano
@rsvp

@fonkap hi, what I meant was if the Linux part was fine-tuned, then the Docker part would be a piece of cake. Yes, Qt can provide a graphical interface via Docker, but it may have properties which may differ from the expectations of the user's base OS.

Another cross-platform solution is to forget Qt altogether, and use the brower as graphical interface. The Docker image could set a Python Jupyter notebook. The big upside is that chess becomes interactive and computational, and any cell within such a notebook can be replicated and modified. Writing chess commentary would be a joy, and great aid for studies and teaching.

Notebooks can be published. Here is a rendering of a notebook at GitHub for Housing economy, home prices and affordibility https://git.io/housing If you had executed that notebook locally, it would have also retrieved the latest available data and recomputed the results. The Dockerfile is straightforward: https://github.com/rsvp/fecon235/blob/master/bin/docker/rsvp_fecon235/Dockerfile

fonkap
@fonkap
wow now my head is spinning :smile: , let's see if I understood anything: you would like to have a means to write something like a chess article, maybe something like this?
https://www.chess.com/news/view/vachier-lagrave-knocks-out-svidler-at-world-cup
I'm not familiar with Jupyter but it seems an overkill at first glance. I don't know..
fonkap
@fonkap
I have taken a look to Lucass code and he uses also QT for generating the images, it seems QT allows to render a widget in a buffer (what is kinda cool), with this:
QtGui.QPixmap.grabWidget
Adriano
@rsvp
@fonkap That article reproduces some game, so one can observe exactly as is, but what if I want to see variations and typical engine responses on the fly in the browser, then make a record of it? The key idea behind Jupyter notebooks is interaction, not only with the data (say PGN), but also any code which processes data. It's not overkill, just start out using it as a simple Python REPL to get a taste.
fonkap
@fonkap
Humm I see, sounds nice
Adriano
@rsvp
World Cup semi-finals "The tie breaks was a wild ride of good moves, bad moves, blunders, swindles, incredible saves, drama and excitement. It must have been an emotional rollercoaster ride for the players involved." Saturday for the finale.
Adriano
@rsvp
New: 57 maxims, inspired from Sun Tzu: rsvp/chess@f12617e
Adriano
@rsvp
New: 14 misc. maxims... rsvp/chess@e42d861
Adriano
@rsvp
New: 16 maxims.... rsvp/chess@4e3e621
Adriano
@rsvp

Free to data mine: 241,127,059 standard rated games, played on lichess.org, in PGN format: https://database.lichess.org -- plus variant games.

Open source Lichess https://github.com/ornicar/lila founder @ornicar is currently doing an AMA on /r/chess -- very interesting comments! Terrific site and apps, all for free.

Adriano
@rsvp
Reasonable post on the London system.
Adriano
@rsvp
AlphaZero defeats the best chess engine Stockfish: 28–72–0, after just training for 4 hours (using specialized TPU Tensor Processing Units, only available from Google). // Also see repo by @Zeta36 https://github.com/Zeta36/chess-alpha-zero
Best by Reinforcement Learning: 1. d4
fonkap
@fonkap
This is awesome
I thought 1.e4 was more aggressive isn't it? Maybe alpha-zero thinks chess is a draw game?
Adriano
@rsvp
hi @fonkap -- hard to generalize, because AlphaZero does not yet print out maxims for human consumption :smile: , but 1. d4 seems to tone down aggression as a trade-off for a "playable" middle game. I think that AlphaZero wants to squeeze out gains before endgame tables becomes a predictable equalizing factor. It's remarkable that AlphaZero does NOT have explicit endgame tables, it has infered their structure through billions of games it has played against itself!
Adriano
@rsvp
Selected studies of AlphaZero vs Stockfish games: https://lichess.org/study/EOddRjJ8
Adriano
@rsvp
Added Lasker's centipawn measure and its use as score for chess engines: https://git.io/chesswik
Stephen Fleischman
@sfleischman105
Hi. I work on this currently: https://github.com/sfleischman105/Pleco . Stockfish inspired, Rust-based chess engine. It's around 9 months old at this point.
Adriano
@rsvp
@sfleischman105 hi Stephen, what did you think about the AlphaZero games vs Stockfish? Happy Holidays!
Stephen Fleischman
@sfleischman105
This article sums up my opinion in a more exaggerated way. I think it's an important step forward in AI Neural networks, but it's relevance to chess programming is not as significant.
Adriano
@rsvp

@sfleischman105 There were hardware and software imbalances in favor of AlphaZero, as the article points out. And I would also agree with:

Probably with a better experimental design as well as an effort on reproducibility the conclusions would be a bit weaker as originally claimed.

Adriano
@rsvp
Happy Holidays! New: 47 new maxims... rsvp/chess@1b37143
Adriano
@rsvp
Beautiful: A Visual Look at 2 Million Chess Games
  • Visualize the opening tree
  • Black was more likely to castle queenside, but White was more likely to not castle at all!
  • Average game length looks like a normal distribution with a mean somewhere around 70-ply (35 moves)
  • Average Material Difference per Ply fluctuates between +/- 0.50
  • Heatmaps for inidividual pieces are most interesting
Adriano
@rsvp

References and code for Firat 2016: Statistical visualization https://git.io/chessref

@ebemunk: hi Buğra, superb :+1: Thank you!

Adriano
@rsvp
@ebemunk: 241 million standard rated games, played on lichess.org, in PGN format: https://database.lichess.org -- would be nice to filter your visualizations on the opening tree conditional on : tree(opening|White win) and tree(opening|Black win). Happy New Year!
Adriano
@rsvp
Very cool: Lichess.org REST API use curl to retrieve info by https URL. Yup, all free, limit: one query per second.
Adriano
@rsvp
Linux bash script to get and browse latest games from players at Lichess.org: https://git.io/lich-game supports both rated and casual games.
@ornicar salut ! merci bien pour Lichess API, c'est super !
Adriano
@rsvp
Stockfish 9 to be released in Feb, with 60 Elo improvement. https://github.com/official-stockfish/Stockfish Thanks to @mcostalba
Adriano
@rsvp
Nice prob-piece-move probability of piece move. Detail images for world champions: https://imgur.com/a/ydIt8