Giter Site home page Giter Site logo

snake's Introduction

Snake

Snake (I had litterally no creativity for the name) is a little classic snake game I challenged myself to code. I challenged myself to get it up working in 24 hours so optimization wasn't my priority at the begginning. I then decided to make it a little more professional and user-friendly. Refactoring is my friend ๐Ÿ˜‰

Running the app

Since the app was initially intended to run completly front-end, I used the great framework Nextjs. Running the app is as easy as, assuming you have Node installed on your computer:

  • git clone https://github.com/Toumani/snake.git
  • cd snake
  • npm i
  • npm run dev
  • Open a browser and the app is served at http://localhost:3000/

Or simply...

Or simply navigate to https://snake.toumani.now.sh

Source control rules

Commits naming

Commits naming follow Andela's conventions and best practices: <type>(<scope>): <subject>``<BLANK LINE> <body> <BLANK LINE> <footer>

Type are :

  • feature
  • bug
  • chore
  • performance
  • release
  • refactor
  • documentation
  • style
  • test

App scopes are :

  • game: everything related to the gameplay
  • menu: everything related to navigating accross the app (settings, high scores etc.)
  • design: everything related to visual rending of the app
  • non-func: Non business functional edits (config files, readme etc.)

Authors

  • Toumani - Initial work - Snake

License

This project is licensed under the MIT License

snake's People

Contributors

toumani avatar

Watchers

James Cloos avatar  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.