Coder Social home page Coder Social logo

czechmait's Introduction

czechmait

A chessbot written in python !!

Is still a work in progress, will update this when progress is made

Written in python to be fairly customizable with different options to play risky, safe, or somewhere inbetween.

Has nothing to do with the firearm with a similar name

Features:

TODO

  • Ability to copy chessboard from clipboard, and analyze it
  • Ability to export best moves / move order to image (not sure if png or jpg)
  • Ability to play against it, and have it not make good moves
  • Most importantly, ability to analyze a chess board and give intelligent thought on it

czechmait's People

Contributors

nednoodlehead avatar ned478 avatar

Watchers

 avatar

czechmait's Issues

enpassant remnant lives too long

 chs = ChessBoard()
 chs.move_from_notation("d4", White)
 chs.move_from_notation("e5", Black)
 chs.move_from_notation("dxe5", White)
 chs.export_png("tester")

Produces a board that still has the remnant, even though its the turn after...

add gui?

i think it makes sense to have a pyqt5 gui.

can do things like

  • active analysis toggle? checks other screen for a chessboard, and try to analyze it
  • have the pgn on the sidebar
  • maybe have some type of 'active search' feedback for the user?

TODO image interpretation

be able to create ChessBoard from an image

  • can find out what pov its from (white or black)
  • hopefully be able to locate the chessboard on an image (not need a completely perfect image)
  • maybe some 'auto-screen-reader'? so you dont need to take screenshots constantly

in minmax, the king square is not properly reset during an undo_move

 scholars_mate_success = "1. e4 e5 2. Qh5 a6 3. Bc4 Nf6"
 chs.move_from_game(scholars_mate_success)
 print(f'king square now: {chs.black_king}')
 chs.move_from_notation("a3", White)
 chs.move_from_notation("Ke7", Black)
 chs.undo_move()
 print(f'should be e7: {chs.black_king}')

chs.black_king should be on e8, since the move was undone. but since undo_move dont change that variable, the problem is there

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.