GithubHelp home page GithubHelp logo

souvik2376 / snake_game Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 42 KB

A Snake Game using HTML, CSS, JS

Home Page: https://souvik2376.github.io/Snake_Game/

HTML 18.35% CSS 27.29% JavaScript 54.36%
css css3 html html-css-javascript html5 javascript js snake-game snakegame

snake_game's Introduction

Snake Game

Snake Game is a classic video game that dates back to the late 1970s. The objective of the game is for the player to control a snake, which grows in length as it eats food placed randomly on the screen. The player must avoid colliding with the walls or the snake's own body while navigating around the screen. As the game progresses, the snake moves faster, making it more difficult to control. The game ends when the snake collides with something, and the player's score is based on how many fruit the snake has eaten before its demise. The game has been adapted to various platforms and is still popular today.

History

The first version of the Snake game was developed in the 1970s by a programmer named Gremlin. It became popular in arcades and on early home computer systems.

The concept of the game is simple, but it requires good hand-eye coordination and quick reflexes to be successful. As the snake grows longer, it becomes more difficult to avoid colliding with the walls or the snake's own body. This adds to the challenge of the game and keeps players engaged.

Over time, many variations of the Snake game have been developed, including versions with different graphics, power-ups, and obstacles. Some versions also allow for multiplayer gameplay, where multiple players can compete against each other to see who can survive the longest or score the highest number of points.

Today, the Snake game remains a classic and is still enjoyed by many casual gamers around the world. Its simple yet addictive gameplay continues to capture the attention of new generations of players.

Run Locally

  • Initialize the git
 git init
  • Clone the rep
 git clone https://github.com/Souvik2376/Snake_Game.git
  • Go to the project directory
  cd Snake-Game
  • Run the Index.html

Screenshots

Preview Page

Play Area

Score

Game Over

Live Site

Play Game

snake_game's People

Contributors

souvik2376 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.