Giter VIP home page Giter VIP logo

chessboardgame's Introduction

chessboardGame

Develop a Java library to implement chess-based games (such as checkers, chess, reversi,...). The library should provide classes and interfaces that can then be specialized to implement different games and implement bot players.

Run project

Linux/Mac
./gradlew run
Window
gradle run

chessboardgame's People

Contributors

brachettamatteo avatar

Stargazers

 avatar

Watchers

 avatar

chessboardgame's Issues

[dama Game] review capture

Description

Review and set process capture. The progress capture is possible effettuate to another destination for example:

Image

Movement pawn to margin

Description

The pedestrian on the margin must comply with the figure
Image

Watch out

The default movement of pawn is test of classicMovements. In this case the pawn respect rule of margin

Green pawn indicates correct movement and red indicates incorrect movement

possible file review

add method for execute move in player

  • void addExecuteMove(pawn pawnToMove,gameBoard b,String move);
  • void addExecuteMove(pawn pawnToMove,gameBoard b);

these methods should be added in the player so as to simplify the calling of the pawn movement. Doing so also gives the possibility to implement the strategy for bots as well.

Once the methods are entered, update the UI part and delete the code that is no longer needed.

Clean code

Description

review all code and fix, if necessary, code

file

All project

[Dama Game] add max 3 capture for move

Description

Implement control capture. For respect rule the pawn is complete max 3 capture for move.

possible solution

Implement var countCapture for catch counting, with each capture it is incremented. When a new move request is made, it is reset to zero.

file

dama movements

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.