Php Snake Save

Popular snake game implementation in PHP and running in CLI.

Project README

PHP-Snake

Popular snake game implementation in PHP and running in CLI.

PHP-ML requires PHP >= 7.0.

╔══════════════════════════════════════════════════════════════╗
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
║                     ░                                        ║
║                     ░         $                              ║
║                     ░                                        ║
║                     ░                                        ║
║                     ░                                        ║
║                     ░░░░░░░░░░░░░░█                          ║
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
║                                                              ║
╚══════════════════════════════════════════════════════════════╝

Requirements

  • PHP >= 7.0.0
  • Composer

Install

Clone from GitHub:

git clone [email protected]:itcraftsmanpl/php-snake.git
cd php-snake
composer install --no-dev

Launch

Run simple command in CLI:

php snake.php

Keys:

w - move up
a - move left
s - move down
d - move right

References

These publications have helped me in creating PHP-Snake game:

License

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

Author

Arkadiusz Kondas (@ArkadiuszKondas)

Open Source Agenda is not affiliated with "Php Snake" Project. README Source: akondas/php-snake
Stars
33
Open Issues
1
Last Commit
3 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating