Skip to main content
20 events
when toggle format what by license comment
Jul 25, 2022 at 18:14 history edited The Fifth Marshal CC BY-SA 4.0
Use more standard formatting; remove [code-challenge] as [king-of-the-hill] is a standalone winning criterion tag
Apr 29, 2013 at 16:07 vote accept NRGdallas
Apr 24, 2013 at 15:12 answer added ejrb timeline score: 6
Mar 7, 2013 at 14:41 vote accept NRGdallas
Apr 29, 2013 at 16:07
Mar 5, 2013 at 17:42 comment added aditsu quit because SE is EVIL I don't really like how this is designed. I think you should come up with the code to run the match by running 2 submitted programs, relaying the moves and calculating the scores. The fencing programs should just print their moves to stdout and read the opponent's moves form stdin.
Mar 4, 2013 at 22:59 answer added Arkady timeline score: 2
Nov 15, 2012 at 16:16 comment added NRGdallas @Griffin Yes, that would be about right, so long as input and output follows basic rules
Nov 15, 2012 at 13:58 comment added Griffin is this roughly the algorithm? while rounds < 50 and myscore < 3 and yourscore < 3: choose my move, and output; input opponent's move; score my move against opponent's move, and output
Sep 25, 2012 at 20:11 comment added NRGdallas @Quasimodo tie, the round is ignored.
Sep 23, 2012 at 14:43 comment added quasimodo What happens if both choose the same action at the same height?
Sep 10, 2012 at 17:14 history edited NRGdallas CC BY-SA 3.0
changed LM to LC as per comment.
Sep 10, 2012 at 17:14 comment added NRGdallas @PeterTaylor updated example, originally it was top, middle, bottom, however I changed to head feet chest to avoid the bottom and block being same letters - as for randomness, the program must be able to run "out of the box" - as in no prompt for the "seed" should occur etc as for blind chance, I will run a best of 5 I am also partially doing this as I don't know how to run scripts/programs in all the various languages, so I hope to use the results in this as a learning experience myself :)
Sep 8, 2012 at 18:01 history tweeted twitter.com/#!/StackCodeGolf/status/244495700979748864
Sep 8, 2012 at 10:34 comment added Anish Gupta this.hits=0;opponent.hits=Infinity; :)
Sep 8, 2012 at 9:03 comment added vsz What about randomness in the solution? Must the match be deterministic? If not, how will the judge select the seed, and how many games will be played between two programs, just one? The robocode competitions usually have 10, to limit the effects of blind chance.
Sep 8, 2012 at 8:33 comment added Peter Taylor Is your example correct? It seems to mangle an input of LC into an action of LM.
Sep 8, 2012 at 8:33 history edited Peter Taylor CC BY-SA 3.0
Don't force people to date their posts manually when the system does it automatically
Sep 7, 2012 at 22:00 comment added NRGdallas once defeated, if you want to offer insight into how you did things, why you did things a certain way, etc, in comments or by modifying your answer, feel free to. While your code is in line, however, please refrain from editing :)
Sep 7, 2012 at 21:59 comment added NRGdallas note: targetting the current winners algorithm to counter that player is in the nature of fencing, and this is king-of-the-hill, so such action is not only allowed, but also ENCOURAGED! - try to come up with some method of generating results, obfuscating your code, or some other way to "guard" yourself, and figure the best way to "attack" the other player's code! -- PLEASE KEEP ALL DISCUSSION CIVIL --
Sep 7, 2012 at 21:56 history asked NRGdallas CC BY-SA 3.0