Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 847 Bytes

File metadata and controls

27 lines (19 loc) · 847 Bytes

SNAKE GAME js

Context

It's a project I put in place to practice JavaScript, HTML, CSS.
I first tried it using div's, than I stumbled across the HTML canvas element, and a good explanation from 'CodeExplainedRepo' (in references)

Try it

You can try this repo here

ToDo's

  • show controls on start screen

  • change preview img corresponding to gameSize selected

  • vertical center endScreen

  • add some sound effect

  • spawn "enemy" blocks

  • make it prettier 😄

  • do not spawn goal on snake
    -> can still spawn on same location ...


References

https://github.com/CodeExplainedRepo/Snake-JavaScript
⤷ which looks like a simpler version of 'https://googlesnake.com'