dbu/snake-bundle

Snake Game (demo for the Symfony 5.1 console)

Installs: 196

Dependents: 0

Suggesters: 0

Security: 0

Stars: 123

Watchers: 4

Forks: 11

Open Issues: 0

Type:bundle

2.0.0 2022-02-21 12:04 UTC

This package is auto-updated.

Last update: 2024-11-21 18:10:57 UTC


README

                             /^\/^\
                           _|__|  O|
                  \/     /~     \_/ \
                   \____|__________/  \
                         \_______      \
                                 `\     \                    \
                                  |     |                     \
 ____              _             /     /                       \
/ ___| _ __   __ _| | _____     /     /                         \\
\___ \| '_ \ / _` | |/ / _ \   /     /                           \ \
 ___) | | | | (_| |   <  __/  /     /                             \  \
|____/|_| |_|\__,_|_|\_\___| /     /             _----_            \   \
                            /     /           _-~      ~-_         |   |
                           (      (        _-~    _--_    ~-_     _/   |
                            \      ~-____-~    _-~    ~-_    ~-_-~    /
                              ~-_           _-~          ~-_       _-~   - jurcy -
                                 ~--______-~                ~-___-~

Symfony bundle for dbu/php-snake, the command line snake game.

This repository provides the bundle to install in a Symfony application. If you just want the game stand-alone, look at the php-snake repository.

Installation and Usage

Installation

In your Symfony application, run:

composer require dbu/snake-bundle

Run

bin/console game:snake

Development

Clone the git repository, then run:

composer install
./tests/fixtures/app/bin/console game:snake

Screenshots

start screen