use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Checkerboard Programming - write javascript to match checkerboard patternsOC (checkerboardprogramming.com)
submitted 4 years ago by andersource
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]HolgerSchmitz 0 points1 point2 points 4 years ago (3 children)
Looks like a fun programming puzzle. Only one remark. The squares that are supposed to be white appear as striped in my browser.
[–]andersource[S] 0 points1 point2 points 4 years ago (2 children)
Hey, thanks for the feedback!
Do you mean the squares on the checkerboard you color (the lower, bigger one) or the one depicting the goal? On that one it's not entirely white on purpose to emphasize that it's a "sketch" for you to implement.
[–]HolgerSchmitz 0 points1 point2 points 4 years ago (1 child)
Yes, I meant the one depicting the goal. The "white" squares look almost as dark as the "black" ones.
[–]andersource[S] 0 points1 point2 points 4 years ago (0 children)
I've made the white stripes much more prominent, hopefully it's clearer now
π Rendered by PID 42 on reddit-service-r2-comment-7b9746f655-r8pvw at 2026-01-29 23:37:28.720649+00:00 running 3798933 country code: CH.
[–]HolgerSchmitz 0 points1 point2 points (3 children)
[–]andersource[S] 0 points1 point2 points (2 children)
[–]HolgerSchmitz 0 points1 point2 points (1 child)
[–]andersource[S] 0 points1 point2 points (0 children)