Timeline for Build a chessboard
Current License: CC BY-SA 3.0
110 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2023 at 14:18 | answer | added | Luis felipe De jesus Munoz | timeline score: 0 | |
Jun 26, 2023 at 19:22 | answer | added | 640KB | timeline score: 0 | |
Jun 24, 2023 at 11:06 | answer | added | matteo_c | timeline score: 0 | |
Jun 24, 2023 at 8:46 | answer | added | agrm | timeline score: 1 | |
Dec 4, 2020 at 4:15 | answer | added | Scott | timeline score: 1 | |
Dec 3, 2020 at 5:52 | comment | added | Ethan Chapman | If a border is allowed, can that border be an infinite extension of the board? It would shave Desmos down to at most 21 bytes, but it doesn't feel in the spirit of the challenge. | |
Dec 2, 2020 at 14:37 | answer | added | Kevin Cruijssen | timeline score: 1 | |
Dec 2, 2020 at 7:05 | answer | added | agent355 | timeline score: 1 | |
S Dec 1, 2020 at 6:57 | history | bounty ended | Adám | ||
S Dec 1, 2020 at 6:57 | history | notice removed | Adám | ||
Dec 1, 2020 at 6:21 | answer | added | agent355 | timeline score: 6 | |
Nov 30, 2020 at 17:00 | answer | added | mehbark | timeline score: 3 | |
Nov 27, 2020 at 2:53 | answer | added | ATaco | timeline score: 1 | |
Nov 27, 2020 at 2:10 | answer | added | roblogic | timeline score: 2 | |
Nov 26, 2020 at 11:00 | answer | added | ovs | timeline score: 1 | |
Nov 25, 2020 at 21:52 | answer | added | gastropner | timeline score: 0 | |
S Nov 24, 2020 at 21:11 | history | bounty started | Adám | ||
S Nov 24, 2020 at 21:11 | history | notice added | Adám | Reward existing answer | |
Sep 6, 2020 at 12:33 | answer | added | Dominic van Essen | timeline score: 2 | |
Sep 6, 2020 at 12:08 | answer | added | Razetime | timeline score: 4 | |
Apr 15, 2018 at 15:48 | answer | added | Angs | timeline score: 0 | |
Apr 15, 2018 at 13:39 | answer | added | sergiol | timeline score: 0 | |
Oct 12, 2017 at 1:25 | history | edited | 12Me21 | CC BY-SA 3.0 |
fixed image
|
Oct 11, 2017 at 15:19 | answer | added | Grant Miller | timeline score: 0 | |
Oct 9, 2017 at 8:39 | answer | added | matrix42 | timeline score: 0 | |
Oct 8, 2017 at 16:26 | answer | added | Taylor Raine | timeline score: 1 | |
Jul 15, 2016 at 17:12 | answer | added | David Conrad | timeline score: 2 | |
Jul 15, 2016 at 16:10 | answer | added | Dan Oak | timeline score: 1 | |
Jul 15, 2016 at 13:22 | answer | added | Giacomo Garabello | timeline score: 0 | |
Jul 15, 2016 at 11:43 | answer | added | Karl Napf | timeline score: 0 | |
Mar 12, 2016 at 10:26 | answer | added | Gyan | timeline score: 5 | |
Feb 6, 2016 at 20:02 | answer | added | pikappa | timeline score: 4 | |
Feb 6, 2016 at 14:38 | comment | added | user45941 | @edc65 Comments are not binding unless they are added to the spec, because comments are transient and can disappear without warning. That's one of the things listed on the things to avoid meta post. | |
Feb 6, 2016 at 11:25 | answer | added | edc65 | timeline score: 0 | |
Feb 6, 2016 at 10:57 | comment | added | edc65 | @Mego comment #10. It should be added to the requirement but it's clearly stated | |
Feb 6, 2016 at 7:02 | comment | added | Dennis | The screenshots suggest otherwise. In any case, I wouldn't recommend silently disqualifying an answer because you think it doesn't work. At least post a comment on the answer. | |
Feb 6, 2016 at 4:34 | comment | added | user45941 | @Bruno The question does not state any requirement that the top-left corner is white. That answer is valid. | |
Feb 5, 2016 at 19:52 | answer | added | AdmBorkBork | timeline score: 1 | |
Feb 5, 2016 at 18:20 | comment | added | Bruno | The MATL answer starts with black instead of white. I couldn't test the image but I tested it with 1 and 0 online at matl.tryitonline.net/#code=ODp0IStRMlwK&input= by removing the TYG | |
Feb 5, 2016 at 17:54 | comment | added | Dennis | Why did you accept the Octave answer? The MATL answer is 7 bytes shorter. | |
Feb 5, 2016 at 16:51 | answer | added | manatwork | timeline score: 1 | |
Feb 5, 2016 at 16:22 | answer | added | ChatterOne | timeline score: 2 | |
Feb 5, 2016 at 14:58 | answer | added | quintopia | timeline score: 0 | |
Feb 5, 2016 at 13:41 | answer | added | manatwork | timeline score: 1 | |
Feb 5, 2016 at 13:28 | history | reopened |
Conor O'Brien Level River St manatwork Adnan AdmBorkBork |
||
Feb 5, 2016 at 12:10 | vote | accept | Bruno | ||
Feb 5, 2016 at 11:00 | comment | added | Bruno | @ThomasKwa Edited the description, thanks for the suggestion | |
Feb 5, 2016 at 10:57 | history | edited | Bruno | CC BY-SA 3.0 |
deleted 69 characters in body
|
Feb 5, 2016 at 10:47 | comment | added | manatwork | Oh. I see your point. For that reason suggested @ThomasKwa to formulate in the usual way: “no libraries written after the challenge was posted”. | |
Feb 5, 2016 at 10:43 | comment | added | Bruno | @manatwork i understand your point. The limitation is to prevent people from creating a library that automates the process and creating a file by simply doing generatechessboard(50,#000,#FFF) on the PHP file and thus have a 30 byte count. When you install php, imagemagic is included by default and you don't need to add any header to use it in your code so it's valid. | |
Feb 5, 2016 at 10:35 | comment | added | manatwork | “Imagemagic is built into PHP” – Installed as separate package (php5-imagick), provided as separate library (imagick.so), configured through separate file (imagick.ini). Not so sure it is built in. | |
Feb 5, 2016 at 10:30 | comment | added | Bruno | @manatwork that is correct. Imagemagic is built into PHP so it's valid. However, if you have to do something like @import('imagemagic') or @include('thisscriptwhereipasscolorsandsizeanditwilloutputmeapng.php') it's not. | |
Feb 5, 2016 at 9:59 | comment | added | manatwork | @Bruno, the requirement certainly becomes better, but I find that ”If you have to import it, it's not valid” ambiguous. That sounds like we can draw using ImageMagick in PHP as there no explicit import is needed, but we can not do the same in Perl, Python or Ruby as there an explicit import is needed. | |
Feb 5, 2016 at 9:40 | history | edited | Bruno | CC BY-SA 3.0 |
added 153 characters in body
|
Feb 5, 2016 at 3:23 | comment | added | lirtosiast | Programming languages here are very diverse, including some that are made specifically for golfing and have many builtin functions. Therefore, I recommend that the restriction to non-library functions be removed, and that this question instead follow the default (all imports counted in byte count; no libraries written after the challenge was posted). | |
Feb 5, 2016 at 2:51 | review | Reopen votes | |||
Feb 5, 2016 at 11:23 | |||||
Feb 5, 2016 at 2:17 | history | closed |
Peter Taylor user45941 mbomb007 Alex A. |
Needs details or clarity | |
Feb 5, 2016 at 1:59 | answer | added | beaker | timeline score: 14 | |
Feb 5, 2016 at 0:55 | answer | added | JohnE | timeline score: 2 | |
Feb 4, 2016 at 22:26 | answer | added | Not that Charles | timeline score: 1 | |
Feb 4, 2016 at 21:53 | comment | added | AdmBorkBork | @PeterTaylor Both the example PHP and my PowerShell answer do not output images, yet each square is 50px... | |
Feb 4, 2016 at 21:53 | answer | added | MonkeyZeus | timeline score: 2 | |
Feb 4, 2016 at 21:46 | answer | added | Dennis | timeline score: 5 | |
Feb 4, 2016 at 21:27 | answer | added | Dennis | timeline score: 3 | |
Feb 4, 2016 at 21:08 | comment | added | beaker | Those last 2 requirements seem unclear and contradictory as well. It doesn't have to be any particular size, nor an image, but you have to display an image. Can I return an array that can be displayed as an image? Does that array have to have a particular size, or does it simply have to display at a minimum size? | |
Feb 4, 2016 at 21:05 | answer | added | Ismael Miguel | timeline score: 5 | |
Feb 4, 2016 at 20:17 | answer | added | flawr | timeline score: 4 | |
Feb 4, 2016 at 20:05 | review | Close votes | |||
Feb 5, 2016 at 1:26 | |||||
Feb 4, 2016 at 20:02 | answer | added | flawr | timeline score: 7 | |
Feb 4, 2016 at 20:01 | comment | added | Doorknob |
@Bruno Bash does not support cat "out of the box." It's an external program. It's perfectly valid to be running Bash without having cat (although it would be very, very strange).
|
|
Feb 4, 2016 at 19:48 | comment | added | Peter Taylor | It doesn't need to be an image but each square must be at least 50px? That seems self-contradictory to me. | |
Feb 4, 2016 at 19:46 | answer | added | Neil | timeline score: 18 | |
Feb 4, 2016 at 19:37 | comment | added | Digital Trauma | @Doorknob You can't say things like this and expect us not to see it as a challenge codegolf.stackexchange.com/a/71111/11259 ;-) | |
Feb 4, 2016 at 19:33 | answer | added | Digital Trauma | timeline score: 9 | |
Feb 4, 2016 at 19:32 | answer | added | Shaun H | timeline score: 2 | |
Feb 4, 2016 at 19:09 | history | tweeted | twitter.com/StackCodeGolf/status/695323345252958208 | ||
Feb 4, 2016 at 18:34 | comment | added | Bruno | @muddyfish they must be b&w like a propper checkerboard :) | |
Feb 4, 2016 at 18:32 | comment | added | Blue | @Bruno do the squares have to be black and white? Can they be black and grey for example (as long as the difference is obvious) | |
Feb 4, 2016 at 18:26 | answer | added | AdmBorkBork | timeline score: 7 | |
Feb 4, 2016 at 18:13 | answer | added | Doorknob | timeline score: 27 | |
Feb 4, 2016 at 18:11 | comment | added | Bruno | Bash suport cat outsider the box so it's valid. However if you download and include a third party library, it's not. | |
Feb 4, 2016 at 17:59 | comment | added | Doorknob | How basic is basic? What is the definition of an "import"? | |
Feb 4, 2016 at 17:57 | comment | added | Bruno | Basic commands in bash like cat are allowed. | |
Feb 4, 2016 at 17:56 | answer | added | Blue | timeline score: 5 | |
Feb 4, 2016 at 17:52 | comment | added | Doorknob |
Define "imports"? Does using external programs in Bash count as imports? (Keep in mind that this would be a very severe restriction—even basic commands like cat are external programs.)
|
|
Feb 4, 2016 at 17:43 | answer | added | Martin Ender | timeline score: 17 | |
Feb 4, 2016 at 17:41 | comment | added | Bruno | @MartinBüttner Vector graphics are allowed, as long as the colors and dimensions of the squares are correct. There can be a frame around the result. | |
Feb 4, 2016 at 17:34 | comment | added | Martin Ender | Also can there be any kind of frame around the result? | |
Feb 4, 2016 at 17:32 | comment | added | Martin Ender | Are vector graphics allowed as output? | |
Feb 4, 2016 at 17:27 | answer | added | Luis Mendo | timeline score: 5 | |
Feb 4, 2016 at 17:26 | history | edited | Bruno | CC BY-SA 3.0 |
added 54 characters in body
|
Feb 4, 2016 at 17:24 | comment | added | Bruno | @LuisMendo The output must be visible, like an image file or a print screen. It should start and end with a white square | |
Feb 4, 2016 at 17:24 | comment | added | manatwork | @DenkerAffe, for ASCII there is Chessboard pattern. | |
Feb 4, 2016 at 17:22 | history | edited | Bruno | CC BY-SA 3.0 |
deleted 18 characters in body
|
Feb 4, 2016 at 17:18 | comment | added | Luis Mendo | How will you evaluate that the program works? Online compilers don't usually allow graphic output. Also, should the upper-left square be white, or can it be black? | |
Feb 4, 2016 at 17:16 | history | edited | Bruno | CC BY-SA 3.0 |
added 207 characters in body; edited tags
|
Feb 4, 2016 at 17:16 | history | edited | a spaghetto |
edited tags
|
|
Feb 4, 2016 at 17:16 | comment | added | a spaghetto | @mınxomaτ Sorry, I just saw the title and instinctively added the chess tag :P I'll remove that. | |
Feb 4, 2016 at 17:15 | comment | added | a spaghetto | @DenkerAffe You could output in PPM. | |
Feb 4, 2016 at 17:14 | comment | added | user42643 | This pattern is more commonly referred to as a checkerboard, this challenge doesn't really have anything to do with chess as a game. | |
Feb 4, 2016 at 17:13 | comment | added | Denker | So some ASCII-magic is not allowed? :( | |
Feb 4, 2016 at 17:12 | comment | added | Bruno | Sorry for the delay, for some reason the JS on stackexchange has issues on my Google chrome. Sorry for not being very specific, it's my first post here. Image format or size is not relevant. Squares should have 50px * 50px. | |
Feb 4, 2016 at 17:08 | answer | added | A Simmons | timeline score: 10 | |
Feb 4, 2016 at 17:05 | comment | added | a spaghetto | Can the output be in any image format? | |
Feb 4, 2016 at 17:04 | history | edited | a spaghetto | CC BY-SA 3.0 |
edited tags
|
Feb 4, 2016 at 17:04 | comment | added | FryAmTheEggman | Welcome to PPCG, as it stands, this challenge doesn't really have anything to do with PHP, so I changed your tags. Also, I believe your reference implementation belongs as an answer, not in your question. As Stewie brought up, you should specify the required size of the image output, as well as things like colour specifics and whether a lossy image is allowed. | |
Feb 4, 2016 at 17:03 | review | First posts | |||
Feb 4, 2016 at 19:48 | |||||
Feb 4, 2016 at 17:02 | comment | added | Stewie Griffin | Minimum number of pixels? I assume 64 is not sufficient? | |
Feb 4, 2016 at 17:01 | history | edited | FryAmTheEggman |
edited tags
|
|
Feb 4, 2016 at 16:59 | history | asked | Bruno | CC BY-SA 3.0 |