It works with raylib version 4.5. Tested on both Windows 10 and Windows 11.
-- Utkarsh Dikshit
From the Explorer Window of VS Code navigate to the src folder and double click on the SnakeGame.cpp file.
Method_1: Double click on the "main.code-workspace" then navigate to src/SnakeGame.cpp file and then press F5, to create .exe file and start running.
Above method, only works if you have raylib installed on your system
(In case of any error (like raylib.h not found)), just close the VS Code and double click on the "main.code-workspace".
Method_2: Open "HungrySnake Harvest (Only Game)" folder, then double click on HungrySnake Harvest.exe file