/classic-snake-game

🐍 Classic Snake Game for CLI (Powered by Bootgly CLI)

Primary LanguagePHPMIT LicenseMIT

bootgly-logo

Classic Snake Game

Powered by Bootgly CLI (from Bootgly PHP Framework).

Bootgly License


🤔 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

Classic Snake Game


📃 License

The Bootgly PHP Framework is open-sourced software licensed under the MIT license.