Coder Social home page Coder Social logo

aaronliftig / chessupperbound Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 16 KB

An individually derived expression that computes a strict upper bound of chess positions, and a generalization of part of that expression which finds the total number of piece combinations for an arbitrary number of piece types and counts.

Python 100.00%
chess chess-positions piece-combinations combinatorics math

chessupperbound's Introduction

chessUpperBound

upperBound.py

is an expression that computes a strict upper bound of chess positions. The expression includes many illegal positions, and I intend to refine the expression in time.

The current output is: 3.0697566281670323e+63

This is a slightly optimized version of second expression from my paper "Of Games Greater than Ours:..." seen here:

https://docs.google.com/document/d/1UWJC7tDZ8oAECuALFpj7aFKycrjLjSlN7t3B_SGteis/edit?usp=sharing

GeneralTotalPieceCombinations.py

is an expression that counts all of the various unique piece combinations if chess had an arbitrary number of piece types and each piece type had an arbitrary number of duplications.

This algorithm has other applications, but the chess applications was its original inspiration.

This is the first and main expression found in the paper in the link above.

chessupperbound's People

Contributors

aaronliftig avatar

Watchers

 avatar  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.