This project is a recreation of the classic game "snake". In this project I utilize HTML, CSS, and JavaScript to create this game but JavaScript is the main driver of this project. For example, all of the graphics are drawn on the screen using the html canvas tag which allows graphics to be drawn using JavaScript. In this project I also learned about JavaScript classes/objects and data-* attribites to allow the control of element state styling in css.
- Open terminal or a similar app on your computer
- change directory to where you want the files to be stored
- copy https://github.com/Zaymus/Snake
- use git clone and paste that link after it to clone the repository
- open the folder it provides
- open the HTML folder inside
- https://zaymus.github.io/Snake/
Sometimes able to hit yourself when movement keys are spammed at once without snake moving.
email: [email protected]
HTML CSS Javascript
This site is licensed under the GPL license
Copyright(c) 2021 Carson Brown