Snippets

Pacman game using basic HTML, CSS, JAVASCRIPT

Create files from these snippets and run the index.html file in broowser to play pacman.

Get Code

Custom hook to store state in localStorage

Persist state in localStorage with a easy drop in replacement of useState hook.

Get Code