Skip to content

BOAScripts/SnakeGame-JS-Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

My first attempt at a snake game in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published