Git Product home page Git Product logo

jchaturanga's People

Contributors

haugan avatar

Watchers

 avatar

jchaturanga's Issues

Some pawns can't move

The pawns at square positions 11 and 51 (in front of the Queens) can't move sometimes, I don't know why or when.

New game, save & load

Give the user an option for starting new, saving, and loading games. Maybe some implementation of storing game states in PGN format?

Change size and colors of GUI

  • SelectSize.. option in the menu bar, allowing users to set GUI size (e.g. small 400x00, medium 600x00, large 800x800..)
  • Change Colors.. option in the menu bar, allowing users to set different GUI themes (i.e. certain sets of colors and game piece graphics..)

State of the game must be retrievable at all times, so a new chess board with whatever chess position can be redrawn to the user after a new size or color option has been set. There might be a way to change sizes and colors without having to create new objects, but maybe it's better to just store the game state, and recreate the game state only with new GUI thematics

Game ending conditions

Write and implement methods for checking if game is ended because of check- or stalemate.

Keeping scores, deciding who's winning

The game needs to keep track of each piece's value, and a score of all captured pieces put together; for deciding a win scenario if the game ends at voluntary resignation.

Undo move behaves weird

This needs more attention, the current undo move implementation undoes to many moves if several moves has been made with different pieces.

JChaturanga compatibility with chess protocols WB/UCI

Is your engine compatible with the free available chess protocols WinBoard (a.k.a. CECP) and UCI (abreviation of Universal Chess Interface). Hundreds of chess programs (freeware/shareware) support both or at least one of these connections.

WinBoard

http://home.hccnet.nl/h.g.muller/engine-intf.html

http://hgm.nubati.net/CECP.html

UCI

http://www.shredderchess.com/download.html

http://download.shredderchess.com/div/uci.zip

Can you create a Java executable file (.har) and host it on Github, too?

Status bar

The GUI should have a status bar at the bottom of the application window which shows the player who's turn it is, and other usable information like completed captures, illegal moves, canceling of previous selections, etc..

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.