Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 21700

King-of-the-hill indicates a game where the submissions interact with and compete against each other in some form of game. Competitions which pit programs against each other without interaction should rather use [code-challenge].

13
votes
Star Wars Fan - Ruby Screw you, Spock puts ['R','P','L','S'].sample Run it like: ruby starwarsfan.rb
answered Jul 25 '14 by William Barbosa
3
votes
Aichmophobic - Lua He'll occasionally poke you, but only until the some stick gets too sharp. When this happens, he'll panic and curl into fetal position. if arg[1] == nil then response = "S" else …
answered Jul 23 '14 by William Barbosa
14
votes
Han Solo - Python Han shot first. In this case, he'll shoot first by picking the closest target alive. import sys def is_alive(player): return int(player.split(",")[0]) > 0 closest_living_targe …
answered Aug 10 '14 by William Barbosa
16
votes
Asimov's Rule Number 0 Bot - Python A robot may not harm humanity, or, by inaction, allow humanity to come to harm. Pretty straight forward, he'll attack the first player he sees holding a gre …
answered Aug 11 '14 by William Barbosa
44
votes
Emo Wolf With A Gun He's back. He hates zombies. He still hates Java. No copyright infringement intended. package player; import zombie.*; public class EmoWolfWithAGun implements Player { @Ov …
answered Jul 21 '14 by William Barbosa
8
votes
Judas Judas is a really good person. It's a pity he'll betray the good guys for a few pennies. package Humans; public class Judas extends Human { private static final String MONEY = ".*?010011 …
answered Jul 11 '14 by William Barbosa
13
votes
Barney Stinson - Lua I only have one rule: New is always better. Screw old Jo Ken Po or whatever you call it. math.randomseed(os.time()) print(math.random() > 0.5 and "V" or "L") Run it like: lua …
answered Jul 25 '14 by William Barbosa
2
votes
Bully Alien Bully Alien will walk around ignoring enemies until he finds someone weak to mess with. package alien; import planet.Move; public class BullyAlien extends Alien { @Override pu …
answered Jul 2 '14 by William Barbosa