Giter Site home page Giter Site logo

mirokrastanov / snakejs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 163 KB

๐ŸŽฎ๐Ÿ๐ŸŽWeb-based JavaScript implementation of the popular game - Snake.

Home Page: https://app-library-13e36.web.app/apps/snake

License: MIT License

HTML 8.51% CSS 24.46% JavaScript 67.03%
canvas css game html javascript react web

snakejs's Introduction

Snake JS

๐ŸŽฎ๐Ÿ๐ŸŽWeb-based JavaScript implementation of the popular game - Snake.

game-image

Live Demo

run-button

The Demo is now part of my app library

Description

  • The game Snake involves a player controlling a constantly moving snake in an attempt to help the snake eat as many apples as possible, without biting its tail or hitting the wall.
  • The game is played on a 20x20 board (15x15 for the React implementation in my App Library).
  • The snake's length increases each time it eats an apple.
  • Once an apple has been eaten a new one spawns at a random location.

How to play

  • To control the snake use the arrow keys to change its direction. Enjoy the game!
  • โฌ†๏ธ
  • โฌ…๏ธโฌ‡๏ธโžก๏ธ

How to win

  • Do not hit the wall
  • Do not bite your tail

Game Screenshots

image

image

image

image

Live Demo

run-button

snakejs's People

Contributors

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