Langton's ant implementation written in PHP and running in CLI.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
.gitignore
README.md
composer.json
composer.lock

README.md

PHP-Langstons-Ant

Langton's ant implementation written in PHP and running in CLI:

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀         ⢀⢴⠙⣄⡓⢦⠝⠁
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠤⡀⢀⢐⡦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠋⣓⢚⡉⣾⠐⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣛⣆⢗⣽⢺⣐⡦⠀⢐⣦⡤⢐⡦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⢳⣇⡲⢁⡔⡊⡵⣪⣕⣀⣀⢀⠇⠐⡍⢢⠀⠀⠀⠀⠀⠀⠀⠀⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡘⠱⣌⣧⣼⣠⣏⠊⢌⡸⣥⣝⡐⢆⢡⣓⡡⠏⡒⠿⢢⠀⠀⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡜⣀⣵⠊⣨⢵⠸⡦⠑⣐⡅⣅⡼⣳⢻⡝⠵⣿⢾⠠⣀⠜⢀⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡜⠁⡈⠢⢀⢹⢤⠗⢾⡭⠋⠛⢛⡲⡟⡒⣏⡽⡊⢤⢆⢴⠙⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢒⠌⢃⣙⡝⣢⠿⡫⠌⢍⠹⣄⡿⠦⣫⢸⡈⠅⣗⠐⣄⡓⢦⠝⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠺⢅⡌⣑⡹⣧⣄⡡⠲⡀⣫⢀⡳⣼⢫⢌⢅⡁⡅⣆⡙⡁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⣦⠃⣻⢧⠁⡋⡹⠻⣪⢵⣙⡴⣻⠛⣬⡰⢬⢡⠙⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠋⡅⣈⠡⠛⠆⠀⠈⠀⣀⠎⢢⣺⠀⠓⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⠈⠒⠒⠒⠒⠒⠛⠉⠒⠁⠀⠀⠀⠀⠀⠀

⠀

Requirements

  • PHP >= 7.0.0
  • Composer

Install

Clone from GitHub:

git clone git@github.com:itcraftsmanpl/php-langston-ant.git
cd php-langstons-ant
composer install --no-dev

Launch

Run simple command in CLI:

php bin/console

References

These publications have helped me in creating PHP-Langstons-Ant:

License

PHP-Langstons-Ant is released under the MIT Licence. See the bundled LICENSE file for details.

Author

Arkadiusz Kondas (@ArkadiuszKondas)