chadsansing / color-picker-snake-game Goto Github PK
View Code? Open in Web Editor NEWLet's make a snake game that teaches about color codes and how HTML5, CSS, and JavaScript work together!
License: Other
Let's make a snake game that teaches about color codes and how HTML5, CSS, and JavaScript work together!
License: Other
Something in one of the color functions is making the g and b values display as identical every time a new food is drawn. Is the problem here? What do you think, @flukeout?
If you're really fast, you can beat the timing/logic and unintendedly crash into a wall. This is especially painful when your chain is huge and you're going for a dot right against a wall or in a corner.
STR
(Replace "right" above with any direction, and try to do a 180.)
The snake won't turn :(. It just keeps motoring to the right.
When my color list gets to long, if I press the down or up arrows while playing the game, I scroll the screen. I should be able to press the down or up arrow in game without scrolling.
if I go left hit up/down=>right, or going right I hit up/down=>left, I reverse direction, but if I try the same when I'm going up and hit left/right=>down, or going down I hit left/right=>up, I get a game over, suggesting I actually turned "down" (or "up") before my left/right instruction finished processing.
When the color list is long, trying to move the snake up and down makes the whole screen move. Super distracting when trying to crush high scores.
Using Chrome.
STR
I refuse to play this game obsessively until my high score can be reflective of my actual, unhindered skill.
Check this out when you have some time @chadsansing
https://www.youtube.com/watch?v=Fy0aCDmgnxg
How can we make the snake game more juicy??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.