Many thanks to Philip Norton (https://www.hashbangcode.com/user/philipnorton42) for the article https://www.hashbangcode.com/article/creating-game-php-part-3-snake
PHP8.1
To start game open cli console in separate window and run php index.php
https://www.hashbangcode.com/article/creating-game-php-part-3-snake
Many thanks to Philip Norton (https://www.hashbangcode.com/user/philipnorton42) for the article https://www.hashbangcode.com/article/creating-game-php-part-3-snake
PHP8.1
To start game open cli console in separate window and run php index.php
https://www.hashbangcode.com/article/creating-game-php-part-3-snake