Fun! Wonder how high people will go. 69 points.
Show HN: I taught my little brother JS, and he made this videogame in a week
131–140 of 285 posts
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#132That's cool, also similar idea to a game I made some time ago for a lisp game jam https://orbaruk.github.io/ https://github.com/OrBaruk/squares-lgj
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#133Nicely executed game. But looking at the source, the weird part is that it is half English, half French. It definitely doesn't look like the work of a single person. I also looked at the commit history and I liked the teaching comments. Clearly, there is a story behind that code. I suspect you did the first part together (moving square, ...) and that your brother played with it by himself later, adding the enemy, etc…
Funny story from ~2005, a company developed a jvm for a special cpu and was aquired by a bigger company. After the aquasition 2 developers had to search the code base for two weeks after swedish swear words, they replaced them with the word of dandelion in swedish ("maskros").
What I want to say is that it is very common to mix english and ones native language.
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#134Earlier quoted context omitted.
What would one feasibly do with this data? I guess an app could tell if someone is holding their phone in their had, and maybe put together a pedometer bases on gyroscope input. Maybe a concern if a app has access to gyro input over a period of days. But as long as it's only for actively open apps and web pages I don't really see much harm.
With sufficiently high-frequency gyroscope data, it is possible to infer what a user types in with moderate precision. In some cases, it has even been shown to be possible to recover coarse audio data from the surrounding environment. https://bugs.chromium.org/p/chromium/issues/detail?id=421691 Browsers have added rate limiting to mitigate this threat. (Prior to that, my former team in Google Ads added our own rate l…
Whaaaa?
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#135Earlier quoted context omitted.
Kind of disturbing that Chrome just provides gyroscope data without any notification to the user.
What would one feasibly do with this data? I guess an app could tell if someone is holding their phone in their had, and maybe put together a pedometer bases on gyroscope input. Maybe a concern if a app has access to gyro input over a period of days. But as long as it's only for actively open apps and web pages I don't really see much harm.
You can also determine things like health and other physical characteristics, similar to gait detection.
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#136Nicely executed game. But looking at the source, the weird part is that it is half English, half French. It definitely doesn't look like the work of a single person. I also looked at the commit history and I liked the teaching comments. Clearly, there is a story behind that code. I suspect you did the first part together (moving square, ...) and that your brother played with it by himself later, adding the enemy, etc…
My code when i was kid was half english and half swedish, heck even today when i write simple "run once"-code they often have some swedish named variable. Funny story from ~2005, a company developed a jvm for a special cpu and was aquired by a bigger company. After the aquasition 2 developers had to search the code base for two weeks after swedish swear words, they replaced them with the word of dandelion in swedish…
Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#137Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#138Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#139Re: Show HN: I taught my little brother JS, and he made this videogame in a week
#140Hasn’t been mentioned before: try this on a phone. It uses the gyroscope for control and it quickly becomes second nature to balance/guide the square around the screen. Also a very nice and rewarding discovery process, as it starts out with squares speeding by, until you realize it’s the tilt of your phone that is causing it. Congrats, super fun!
Note: mobile Chrome but not Firefox.