Giter Club home page Giter Club logo

proxima-b's Introduction

Proxima b

Version 1.0

Chess engine based on min-max algorithm, iterative deepening and transposition tables.

Supported modes

  • Player vs AI
  • AI vs AI
  • AI vs FICS (Free Internet Chess Server)

Used algorithms

  • negamax search - simple implementation of minmax algorithm
  • alpha-beta pruning - decreases the number of nodes parsed by the negamax
  • transposition tables - cache for parsed positions, prevents from double calculation of node
  • iterative deepening - iterative increasing of maximal depth
  • quiescence search - prevents from horizon problem, calculates very deep nodes (only captures, promotions or checks)
  • Zobrist hashing - calculates unique number for the board

FICS

Proxima b is playing on Free Internet Chess Server (FICS) as "proximab(C)". Feel free to play with him :) The most common setting for games is 15/0 (or 10/0).

Console commands

Name Description
Hello (Hi) writes "Hello" on the console
AddPiece s x y adds the specific piece [s] on position [x, y]
Save x saves the board to the specific file [x]
Load x loads the board from the specific file [x]
Heuristic (Heur) gets an heuristic value of the board
MinMax (n) c calls AI algorithm for the specific color [c]
GetHash (Hash) gets hash of the board
IsMate (Mate) c writes "True" if the king with color [c] is mates
MarkPos (MPos) x y marks the specific position
DoMove (DM) a b x y does move from [a, b] to [x, y]
SetMaxTimeAI (MaxTime) x sets max time x for AI algorithm
SetGameMode (GameMode) x sets the game mode [x]
StopFICS stops fics thread
ResetBoard (Reset) resets board to default values
Help (H) writes list of commands
SendFICSCommand (SendFICS) x sends specific text [x] to the FICS server
FISCLoop(GameMode) x sets FICS games loop

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.