Coder Social home page Coder Social logo

palhanor / avoid-black-holes Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 79 KB

A simple game based on JavaScript that combines retro dynamics and futuristic design

Home Page: https://palhanor.github.io/Avoid-Black-Holes/

JavaScript 48.52% HTML 16.53% SCSS 34.95%

avoid-black-holes's Introduction

A simple game in JavaScript

Summary

Proposal: To practice pure JavaScript development I decided to create a game based on the famous "Snake", where the player needs to reach the food while avoiding the black holes that appear. Thus, one or more black holes are created every time the player manages to reach a food, generating an increasing difficulty for the player.

Developed by: Lucas Palhano

Major Bugs

  • The black hole appears in the same position as the player
  • The player can walk off the canvas (x: -20px & y: -20px)
  • The game can continue after the end of the game if the user presses any of the arrows
  • There is no handling of input data
  • Bad formatting of HTML, SASS and JavaScript codes
  • The codes are written in pt-br
  • There is no responsiveness on the page

Future Features

  • Implement grid control on the panel (lines or clean)
  • Implement border control in dashboard (teleport or solid)
  • Add language selector (pt-br or en)
  • Add donation field (using Nanocurrency)
  • Mapping through a two-dimensional array in JavaScript
  • Add header navigation
  • Add modal with game rules
  • Add option to share final game score
  • Improve scoreboard design
  • Implement dark mode theme option
  • Add shadow with blur on black holes
  • Create design documentation
  • Improve the design of input fields
  • Implement game controls (Play; Pause; Reset; Quit)
  • Implement a multiplayer system
  • Add support for mobile devices
  • Add a global ranking

Style Guide

Loading...

Original Icon by: Freepik.

avoid-black-holes's People

Contributors

palhanor avatar

Watchers

 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.