GithubHelp home page GithubHelp logo

checkers-project-1's Introduction

checkers-project-1

Start Game: Click "New Game" to bring up player menu. Designate a player name for each piece color. Choose a player to go first, or let the computer randomly decide.

Play Game: Standard game pieces must move diagonally forward one row. If a diagonally adjacent corward move is occupied by an opponent player, the active player can jump over it if the subsequent diagonal space is unoccupied. This move will remove the "jumped" opponent piece. Jump moves can be strung together, so long as all moves are valid. When a standard game piece reaches the opposite side of the board, it will be "kinged." Kinged pieces can move forward or backward to diagonally adjacent spaces.

Winning: When one player has jumped and removed all of the opponent's game pieces, the game is over. The player with remaining game pieces is the winner.

************ Development ************ The game is created using HTML, CSS, Javascript, and jQuery.

All board spaces have an ID based on its coordinates within the game board. These can be referenced easily by accessing the lookup object to get a numberic value for row and column.

As the player moves a piece across the board, all spaces are logged and subsequently checked for validity at each step.

checkers-project-1's People

Contributors

drewrudebusch avatar

Watchers

James Cloos 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.