Giter Site home page Giter Site logo

clearya1 / snakegamewithleaderboard Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.29 MB

Basic snake game with integrated leaderboard functionality. Using HTML, CSS and Javascipt to create the frontend. Using node.js, express, npm, mongodb and monk to create the backend.

JavaScript 30.61% CSS 6.42% HTML 62.98%

snakegamewithleaderboard's Introduction

snakeGameWithLeaderboard

Basic snake game with integrated leaderboard functionality. Using HTML, CSS and Javascipt to create the frontend. Using MongoDB and monk to create the backend.

You need to have a MongoDB database with the desired number of entries for the leaderboard already created on your computer. The code effectively just replaces the worst score on the leaderboard with any scores that make it onto the leaderboard to save memory.

Most of the code for the snake game can be found in views/snake.ejs. To run the game, just go to a folder with these files and run the command 'npm start' (you need to have npm installed).

snakegamewithleaderboard's People

Contributors

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