Code Monkey home page Code Monkey logo

javascript's Introduction

JavaScript Snake Game

This is a simple snake game built with JavaScript, HTML, and CSS. The objective of the game is to control the snake and earn as many points as possible without colliding with the walls or the snake's own body. This is just a mini project i have created while learning Javascript Installation To play the game, simply download or clone this repository and open the index.html file in your web browser.

Installation

To play the game, simply download or clone this repository and open the index.html file in your web browser.

git clone https://github.com/KAVIRAJec/Javascript.git
cd Javascript

Usage

Once you have the game open in your web browser, use the arrow keys on your keyboard to control the snake. The snake will move in the direction of the arrow key you press. The game ends if the snake collides with the walls or its own body.

License

This project is licensed under the MIT License

javascript's People

Contributors

kavirajec 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.