/^\/^\
_|__| O|
\/ /~ \_/ \
\____|__________/ \
\_______ \
`\ \ \
| | \
____ _ / / \
/ ___| _ __ __ _| | _____ / / \\
\___ \| '_ \ / _` | |/ / _ \ / / \ \
___) | | | | (_| | < __/ / / \ \
|____/|_| |_|\__,_|_|\_\___| / / _----_ \ \
/ / _-~ ~-_ | |
( ( _-~ _--_ ~-_ _/ |
\ ~-____-~ _-~ ~-_ ~-_-~ /
~-_ _-~ ~-_ _-~ - jurcy -
~--______-~ ~-___-~
This bundle adds a command to run the snake game in your console.
It is a demo for the cursor
added in Symfony Console 5.1.
Let it not distract you from your work ;-)
git clone [email protected]:guanguans/snake-bundle.git
cd snake-bundle.git
composer install
./bin/snake
This can happen after aborting the program, e.g. with -c. Reset the console to sane defaults by typing:
stty sane
Be aware that input is probably hidden, so you won't see anything until you hit enter.
Because it was the first thing I could think of. And its simple enough that it should be possible to follow what is going on.
Delta Corps Priest 1 from http://patorjk.com/software/taag/