PHPackages                             arknet/linereracer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. arknet/linereracer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arknet/linereracer
==================

Draughts gaming engine.

22PHP

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Arkdevnoder/LineReracer)[ Packagist](https://packagist.org/packages/arknet/linereracer)[ RSS](/packages/arknet-linereracer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Draughts, or checkers, or "shashki".
====================================

[](#draughts-or-checkers-or-shashki)

This is library with PHP API.

### Features:

[](#features)

- Got possible moves
- Board positions
- Game and board API
- Minimax alpha-beta prunning AI
- Evaluator API
- History API
- Draw after 30 no beat-moves
- Draw after 3 retry moves

### Compuser installation:

[](#compuser-installation)

```
composer require arknet/linereracer:dev-master

```

Game constructor:

```
$game = (new \Arknet\LineReracer\Definition\Game);
```

Display the game in console:

```
$game->display();
```

Position setting:

```
$game->setNotation("white-0|b,b,b,b,b,b,b,b,b,b,b,b,e,e,e,e,e,e,e,e,w,w,w,w,w,w,w,w,w,w,w,w");
//white-0 is color of movement and moves without beats
```

Get position:

```
$game->getNotation();
```

History notation setting:

```
$game->setHistoryNotation($history)
```

Get history notation:

```
$game->getHistoryNotation();
```

Possible moves:

```
$game->getMoves();
```

Set movement:

```
$game->setMove((int) $index);
```

Computed minimax alpha-beta prunning moves:

```
$game->getEngineMoves();
```

License: MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/567f3f16b22e63da2200ad06fe633dc5956bee9b302f86fdff67b45169250caf?d=identicon)[Arkdevnoder](/maintainers/Arkdevnoder)

---

Top Contributors

[![Arkdevnoder](https://avatars.githubusercontent.com/u/14966273?v=4)](https://github.com/Arkdevnoder "Arkdevnoder (48 commits)")

### Embed Badge

![Health badge](/badges/arknet-linereracer/health.svg)

```
[![Health](https://phpackages.com/badges/arknet-linereracer/health.svg)](https://phpackages.com/packages/arknet-linereracer)
```

###  Alternatives

[cerdic/css-tidy

CSSTidy is a CSS minifier

2092.0M6](/packages/cerdic-css-tidy)[lochmueller/calendarize

Create a structure for timely controlled tables (e.g. events) and one plugin for the different output of calendar views (list, detail, month, year, day, week...). The extension is shipped with one default event table, but you can also 'calendarize' your own table/model. It is completely independent and configurable! Use your own models as event items in this calender. Development on https://github.com/lochmueller/calendarize

77152.6k12](/packages/lochmueller-calendarize)[sitegeist/kaleidoscope

Responsive-images for Neos

29352.4k10](/packages/sitegeist-kaleidoscope)[jurchiks/numbers2words

It spells numbers (and currencies)!

20172.1k3](/packages/jurchiks-numbers2words)[giauphan/laravel-qr-code

QR Code Generator for PHP wrapper for Laravel

2765.4k1](/packages/giauphan-laravel-qr-code)[syholloway/mrcolor

Color manipulation tools and format conversion for PHP

14149.6k](/packages/syholloway-mrcolor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
