Skip to content

This is a nice little game using JavaScript. Move your cursor and the snake will follow.

Notifications You must be signed in to change notification settings

jenniferhubermayer/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

snake | Online game

This is a nice little game using JavaScript. Move your cursor and the snake will follow.

Table of contents

Overview

The challenge

In this exercise you program a small snake game:

  • Create 100 divs using javascript (loop).
  • Each element's color should change to another and remain so for half a second when the element IS HIT with the mouse pointer.
  • The hover should not have a fixed but a random RGB color

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS
  • Flex
  • JavaScript

Author

Acknowledgments

This project has been realized as part of the super(c)ode "Front-End Boot-Camp 2022".