Giter Club home page Giter Club logo

checkersbot's Introduction

Checkers

  • make help gives you a brief overview about options
  • know the rules: http://en.wikipedia.org/wiki/English_draughts
    • 8x8 board, normal pieces move 1 step and jump 2 steps diagonal forward
    • crowned pieces move 1 and jump 2 steps, but also backwards
    • jumps must been taken, multiple jumps too
    • there is a draw timeout after 20 moves when only crowned pieces have moved
  • in order to successfully pass this exercise, you have to make no invalid moves, this is a hard limit. Additional your player should win against a random player, but you do not have to play very strongly. Typically it suffices if you simply avoid being killed when possible.
  • the master control program (mcp) will alternately send a board to each player and wait for the move in return. After checking the validity it will modify the board accordingly and transfer it to the other player.
  • your task is to start with an empty my_player (rename it to your full name please), have a look at the example how to receive input and where to write the output to. You may copy code from the example_player only, from nowhere else
  • for debugging your player, you might want to start the mcp with '-d', which will have the mcp report invalid moves, but without terminating the match
  • if you want to test your own player with a very specific board, you can specify an initial state by using mcp -i <state>
  • please do not hesitate to ask any questions early, this will save you and us time later on

checkersbot's People

Contributors

kahlertl avatar

Watchers

 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.