Skip to content

ebolblga/Dither-Snake

Repository files navigation

Dither-Snake

Dark version of the snake game with shading and dithering

Made mostly to test how this type of shading would work. Only the snake head and food emit light, everything else is hidden in darkness. Stylish Bayer4x4 dithering on top of that, making the game canvas 1 bit.
I recommend playing on a desktop device in full screen (F11), although I added support for mobile devices but it's very eh...

image

Play field size will change dynamically to the size of your screen, meaning if you want to make the play field bigger just press ctrl and scroll with mouse wheel.

Food texture atlas:
food_atlas

Amazing particle animation:
2022-10-29 03-03-57

SFX generated using sfxr.

My high score)
image

How to launch yourself using Node.js and Visual Studio Code

# install yarn
npm install --global yarn

# now install all modules
yarn

# now start project
yarn dev

# build ssg version
yarn generate

License

This program is licensed under the MIT License. Please read the License file to know about the usage terms and conditions.