1 / 8

Data structures Term Project CHECKERS

Data structures Term Project CHECKERS. Group Member: Ayaz Ali Qureshi (BS-3) Omair Nasir (BS-7). Basic’s. Checker’s is a two-player board game. Each player has 12 pieces on the board initially. Either of the player has dark-colored pieces and the other one has light colored.

field
Télécharger la présentation

Data structures Term Project CHECKERS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data structures Term ProjectCHECKERS Group Member: Ayaz Ali Qureshi(BS-3) OmairNasir(BS-7)

  2. Basic’s • Checker’s is a two-player board game. • Each player has 12 pieces on the board initially. • Either of the player has dark-colored pieces and the other one has light colored.

  3. A sample checkers board

  4. Logic • We have used the basic logic of the game that a player can move diagonally to his right or left. • If a player has to move two places diagonally there must be opponents piece to his right or left.

  5. Moves • The game calculates the number of legal moves the computer can move. • The moves in which the piece can move two pieces diagonally is called a priority 1 move • The moves in which the piece can move only one piece diagonally is called a priority 0 move

  6. Move Preference • If the set of moves contains a Priority 1 move it is carried out. • If the set of moves contains no Priority 1 moves then out of the Priority 0 moves is chosen randomly and moved.

  7. A screen shot of our Checkers

  8. Thank you 

More Related