GitHub - rodrigoslayertech/classic-snake-game: 🐍 Classic Snake Game for CLI (Pow...
source link: https://github.com/rodrigoslayertech/classic-snake-game
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
rodrigoslayertech/classic-snake-game
Classic Snake Game
Powered by Bootgly CLI (from Bootgly PHP Framework).
About
This repository is part of Bootgly Awesome.
The purpose was to demonstrate the power of the Client-Server interface to CLI of the Bootgly CLI which is part of the Bootgly PHP Framework.
No additional extensions (like ncurses) were used, only stty
system commands.
Boot
Compatibility
Operation System | Terminal |
---|---|
Linux (Debian based) | Windows Terminal (WSL2) |
Windows | GNOME |
Unix | Zsh, Fish, Konsole, Terminator |
= Compatible = Incompatible = Untested
Dependencies
- PHP 8.2+
- Opcache with JIT enabled (+50% performance)
- Composer
= Required = Recommended
Deploy
Install
composer install
Play
To start the game, in the root folder type in your terminal:
php bootgly
Screenshots
License
The Bootgly PHP Framework is open-sourced software licensed under the MIT license.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK