PlanetArray, a game to practice JavaScript array methods (go-here.nl)
The game has a help button that displays a tiny cheat sheet for a few seconds. It describes all the methods except those that are to obvious (sort, reverse, length)
The idea behind the game was: The coder needs a bit of time to chose an instruction and type it out. You don't really notice which part is using the most time but typing code goes much slower than normal language, it requires more mental effort. I sort of appreciate what a chaotic mess human language is. The slow in the coding is probably not in the language but in how often we "speak" it.
We memorize things by repeating them often. Even if you write code all day, the interval of repetition could be very low, you could have a ton of code with just a few Array operations. When first trying it the questions in my game took me 3-4 seconds. For a game settings 2 seconds is slow, thinking for 4 seconds just to push a button feels like an eternity. Clearly I was on to something (how slow I was)
You get to feel stupid, then, if you just sit there bashing buttons for a while the stupid goes away and it is replaced with ohh and ahh, and the eventual "damn, look how good I am at this!" Many moons later, while coding, you continue to impress yourself with your cosmic array skills.
There is currently no world record because the game is completely new and has never been played before.
Enjoy!
0 comments
[ 5.6 ms ] story [ 16.3 ms ] threadNo comments yet.