Coder Social home page Coder Social logo

checker's Introduction

Checkers

Computer version of the game checkers. The game has international rules about which you can read here.

Warning: works on Python version 3.4 and higher

How to start

To run on a Windows-based system:
py -3 Checkers.py
To run on a Unix-based system:
python3 Checkers.py

Arguments to run from the console:

```[-l,--load] path``` - download the game from the file lying along the path.<br>
```[-m, --milti] dimension``` - start a cooperative game on a square field of dimension.<br>
```[-s, --singleplayer] party dimension``` - start a single game with a bot. party = 1 game for the red, party = 2 game for the blue

dimension - the size of a square field

Menu description

Starting the game, you will see a menu in which there are 4 buttons: Single mode, Coop mode, Load Game, Quit
-For a single game, choose "Single mode", then choose which side you want to play.
-For cooperative games for one PC, choose "Coop mode".
-To download the game, select the file with the saved batch of the .ck extension on the computer.
-To quit the game, select "Quit".

Features.

If you check "starting with unusual mode", then by random number of moves you will change with the opponent's sides

checker's People

Contributors

karamov-git 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.