GithubHelp home page GithubHelp logo

libbyberrie / snek-dancer Goto Github PK

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

Are we snek or are we dancer -- A python based incrementer game for meme and learning purposes

Python 38.46% JavaScript 43.10% HTML 2.28% CSS 16.16%

snek-dancer's People

Contributors

libbyberrie avatar mermop avatar oheyjesse avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mermop

snek-dancer's Issues

Snek elements much longer than sneks

Snektions are defined as 5% or 8% in width of the parent element, so unless sneks have many snektions the element is ending up much too wide.

We should maybe define the width in em instead, and set the font-size of the parent element to scale snakes up and down

Not enough snake puns

Some snake words there could be puns from:

  • Boa
  • Taipan
  • Serpent
  • Anaconda
  • Cobra
  • Serpent
  • Fang
  • Mamba
  • Viper

Mobile improvements

Mobile is a little bit fiddly. Amazingly, it works and looks pretty ok! But it could be improved with perhaps

  • a mobile friendly layout (maybe some media queries to facilitate?)
  • a bigger, more easily mashable button in mobile
  • Code to stop mobile browsers double-tapping to zoom - as we'll be tap tap tappin dem snekkys

Discussion: Add prettier to JS Codebase?

Prettier: Auto code formatting for JS based on accepted style guide (based on airbnb)

I've used Prettier on many JS codebases, and whilst initially I was a bit frowny face about auto-format-on-save, I've come around, these days. I find that:

  • It saves time fiddling with lineups and the extra brackets in JS
  • It removes the need to worry about what style is "best", by choosing for you
  • It's actually pretty.... "pretty" - It comes up with a pretty nice end result

If we were to put it in

It would mean putting it in (a quite trivial PR in itself), and then running it on all JS files (also, we don't have many, not a huge job). I'd want to wait until we've all done with any code/PR's currently in the pipeline.

The main thing that would impact us as devs is that we'd likely want to install prettier on our local machines. There are vscode extension and sublime text plugins you can install to run it on save, and we could check-in some project-specific settings files so that this doesn't bother y'all on other projects. Or, you can run it on the command line before committing.

Open to discussion :)

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.