This is made just for FUN!
It is made using Javascript and p5.js library with OOP approach.
p5.js is a creative coding library which allows developers to draw shapes, animations and a lot more. Here the canvas, snake body and food item is drawn using p5.js and animation frames are rendered by p5.js.
NO GAMING LIBRARIES OR MODULES ARE USED.