⭕️ A Knight's Tour problem solver written in php

Overview
logo

Knight's tour problem solver

A knight's tour problem solver using "Warnsdorff's Rule" - https://vrgl.ir/IB9LJ


🌟 About the Project

📷 Screenshots

screenshot

🔑 Basic Variables

To use this project, you will need to change the following variables to your app.php file

// board size
$x_size = 12;
$y_size = 12;

// Knight's start position
$knightPos = ['y' => 1, 'x' => 1];

🚩 run

To run this project, run

  php app.php

🧭 Todo

  • Solve Knight's tour problem
  • Update readme
  • Solve knight's tour problem more dynamically

🤝 Contact

💎 Sources

You might also like...
PHP generics written in PHP

PHP generics written in PHP Require PHP = 7.4 Composer (PSR-4 Autoload) Table of contents How it works Quick start Example Features Tests How it work

A PHP parser written in PHP

PHP Parser This is a PHP 5.2 to PHP 8.1 parser written in PHP. Its purpose is to simplify static code analysis and manipulation. Documentation for ver

A beautiful, fully open-source, tunneling service - written in pure PHP
A beautiful, fully open-source, tunneling service - written in pure PHP

Expose A completely open-source ngrok alternative - written in pure PHP. Documentation For installation instructions, in-depth usage and deployment de

Websocket chat room written in PHP based on workerman.

基于workerman的GatewayWorker框架开发的一款高性能支持分布式部署的聊天室系统。

A bot written in PHP which attempts to link IRC with SQL database, allowing for integration between platforms

Valeyard IRC-SQL-GateWay A bot written in PHP which attempts to link IRC with SQL database, allowing for integration between platforms. This bot is mo

Wake PC is a super tiny password protected webapp for linux machines that sends WOL packets, written in PHP.
Wake PC is a super tiny password protected webapp for linux machines that sends WOL packets, written in PHP.

Wake PC Wake PC is a super tiny password protected webapp for linux machines that sends WOL packets, written in PHP. How to set up Quick setup You can

A GETTR.com client library written in PHP with Laravel support.
A GETTR.com client library written in PHP with Laravel support.

Gettr API Clinet PHP A GETTR.com client library written in PHP with Laravel support. This library uses unofficial publicly accessible API endpoints of

NFC Reader with the libnfc written in PHP
NFC Reader with the libnfc written in PHP

What is libnfc-for-php? This library is a toy for me. You can read NFC with libnfc written in PHP. Requirements PHP 7.4 or later PHP FFI libnfc Suppor

NFC Reader written in PHP
NFC Reader written in PHP

What is nfc-for-php? This library is a toy for me. You can read NFC with libnfc written in PHP. Requirements PHP 7.4+ PHP FFI libnfc 1.8.0 (if you use

Owner
Mahdiyar Ghannad
16 y.o web developer from Iran/Mashhad
Mahdiyar Ghannad
Viewi - Tour of Heroes app and tutorial

Viewi - Tour of Heroes app and tutorial

Ivan Voitovych 9 Oct 3, 2022
Arithmetic expression solver PHP library

arithmexp An arithmetic expression solver Usage $operators = OperatorRegistry::default(); $expression = new ArithmeticExpression($operators, "4 - 3 +

Muqsit Rayyan 17 Nov 13, 2022
A simple implementation of the api-problem specification. Includes PSR-15 support.

ApiProblem This library provides a simple and straightforward implementation of the IETF Problem Details for HTTP APIs, RFC 7807. RFC 7807 is a simple

Larry Garfield 236 Dec 21, 2022
Do you want CronJob to follow the solar date?You need this package to solve this problem.

Shamsic Maybe it happened to you that you wanted to use CronJob in your project and you realized that you cannot manage the exact dates that are in th

Amin Ghaninia 5 Jul 19, 2022
This package implements 0-1 Knapsack Problem algorithm i.e. allows to find the best way to fill a knapsack of a specified volume with items of a certain volume and value.

This package implements "0-1 Knapsack Problem" algorithm i.e. allows to find the best way to fill a knapsack of a specified volume with items of a certain volume and value.

Alexander Makarov 9 Sep 8, 2022
This project is based on the problem statement provided by the Minstry of HRD (India) for Smart India Hackathon '17.

This project is based on the problem statement provided by the Minstry of HRD (India) for Smart India Hackathon '17. As per the given problem statement, we need to solve the problem of bunching of marks at certain level, and problem of high scorers being at disadvantageous position due to lower competitive percentile.

Saransh Dave 4 Oct 13, 2022
A sampling profiler for PHP written in PHP, which reads information about running PHP VM from outside of the process.

Reli Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the proces

null 272 Dec 22, 2022
A sampling profiler for PHP written in PHP, which reads information about running PHP VM from outside of the process.

Reli Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the proces

null 258 Sep 15, 2022
A multithreaded application server for PHP, written in PHP.

appserver.io, a PHP application server This is the main repository for the appserver.io project. What is appserver.io appserver.io is a multithreaded

appserver.io 951 Dec 25, 2022
A status monitor for Elite Dangerous, written in PHP. Designed for 1080p screens in the four-panel-view in panel.php, and for 7 inch screens with a resolution of 1024x600 connected to a Raspberry Pi.

EDStatusPanel A status monitor for Elite Dangerous, written in PHP. Designed for 1080p screens in the four-panel-view in panel.php, and for 7 inch scr

marcus-s 24 Oct 4, 2022