Giter Club home page Giter Club logo

checkers's Introduction

Chekers-Olivyeshka

AI program meant for checkers contest as an exam for Fundamentals of AI course at NaUKMA

This is a client-server application, that is why you need to run them separately in different terminals:

Command to run the server: python3 server.py Command to run the client: python3 client.py --production

What were the responsibilities:

  1. Creating a board game_drawing.py, connecting to the bot_production.py server, testing bot_test.py - Perch O.
  2. The first version of the MinMax algorithm with alpha-beta prunning Solver.py, Heuristic.py, testing, client.py - Orel D.
  3. Algorithm modification, testing the coefficients of heuristics - Orel D., Perch O.

How to run server

  1. Install python 3 and pip from https://www.python.org/downloads/.
  2. (Optional) Use virtualenv for python in order to install modules in project directory only and not to collect trash in your OS.
  3. In project folder run pip install -r requirements.txt
  4. Run such commands in separate terminals to see the game in action:
    4.1. python3 server.py - to start the checkers' back-end.
    4.2. python3 client.py --prooduction - to open the checkers' client player 1 connection.
    4.3. Another python3 client.py --prooduction - to open the checkers' client player 2 connection.

If you have both python 2 and python 3 in your OS, you may want to use python3 for commands stated above.

Note: Default server host/port is 127.0.0.1:8081. If you want to run server on non-default host/port, you may change any of these values at src/server/config/checkers.yaml.

checkers's People

Contributors

danorel 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.