Giter Site home page Giter Site logo

notanoctopus / suicide-chess Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.59 MB

web version of mark watkins's solution to suicide chess

Home Page: https://notanoctopus.github.io/suicide-chess/

HTML 27.33% JavaScript 49.34% CSS 13.77% Python 9.56%

suicide-chess's Introduction

suicide-chess

mark watkins recently solved suicide chess (or losing chess or antichess) as a white win with 1.e3.

what this is supposed to be is a site that has a browseable implementation of mark watkins's solution to suicide chess (for each move by black it gives a winning move by white). for now it copies stuff directly from the N=1000 paths from the lines section http://magma.maths.usyd.edu.au/~watkins/LOSING_CHESS/lines.html

things it won't do:

  • stuff with solution tree size under 1000 (i.e. considered too easy to be given its own line, like e3 d6??) in some cases if a line isn't there for this reason it can be trivially solved by a human, but NOT in all cases

  • transpositions (the lines text files don't have transposition pointers. there's no easy fix for this. so like if you're looking up e3 b5 Bxb5 Bb7 Bxd7 Bxg2 Bxe8, the book only tells you what happens after Bxh1, when Qxd2 is a move as well, but everything under Qxd2 transposes to the other line, so it's not included. i'm not bothered enough to look through for transposition fixes. in fact, that might not even be possible from the lines files. i don't know.)

  • endgame tablebases. a line will end when mark watkins's solver has it within touching distance of tablebase lines, which are taken for granted when he creates the lines files in the above link. because tablebases are not implemented here, once you get to within touching distance of a tablebase position the lines will stop there. hosting tablebases here might be tricky for various reasons. mark watkins used all the 4-piece tablebases and a bunch of 5's and a couple of 6's (for e6 and c5)

  • actually solve anything. no processing power is involved.

i don't own any of the text files with the lines in it. they're mark watkins's solution. what i might do in the future is load the relevant file directly off his site instead of keeping a local copy of it over here, but i have no bloody idea how to do that.

any suggestions / improvements please let me know. i'd love feedback. i crave it more than anything else in this planet.

TODO :

  • b6 (liardet's defence) and c5 (polish defence)

  • fully functioning board with pictures of pieces

  • better layout

  • notation for moves to include piece e.g. Nb8-c6

  • text annotations for named opening lines

  • order moves by size (i.e. line count) and display count of how many lines there are down a particular line

  • get a job

  • save the world

suicide-chess's People

Contributors

notanoctopus avatar

Stargazers

 avatar

Watchers

 avatar

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.