Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
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].
2
votes
King of the Hill: Nose Poker - An ogre game for ogres
Troll Adaptive
Exactly the same as Adaptive by @Nurator, except increases it's bid the second round to eliminate the original Adaptive:
module.exports = class {
constructor(controller) {
…
1
vote
Speed up, slowpoke!
Split the difference
def split_the_difference(info, me, round):
my_info = next(i for i in info if i[0]==me)
if my_info[2]<10:
return [me, 1, 1]
info.sort(key=lambda i: i[2])
…
3
votes
Speed up, slowpoke!
Impersonator
Not sure if this loophole is allowed. Since many bots help those with similar names this impersonates the top bot by name.
import traceback
def impersonator(info, me, round):
def eq( …
1
vote
Speed up, slowpoke!
Advanced Impersonator
import random
def advanced_impersonator(info, me, round):
info.sort(key=lambda i:i[1])
# pick a bot in the top 25%
bot = random.choice(info[len(info)*3//4:])
…
1
vote
Speed up, slowpoke!
Karma
import random, string
def karma(info, me, round):
my_info = next(i for i in info if i[0]==me)
if my_info[2]<40 or round < 500:
return [me, 1, 1]
# Some bots where explicitl …
2
votes
Radiation Hardening KOTH
Tapestry, <><
No good strategy, focuses on being very hardened. Each character is at least 4x redundant.
iiiiiiiivvvvvvv
lllllllllllllll
111111111111111
---------------
nnnnnnnnnnnnnnn
…
6
votes
Radiation Hardening KOTH
Ghost, Whitespace
A bot that will remove white-space from other bots, while itself being made of only whitespace.
Code:
v
un
0r
e_
of
e …
25
votes
25
answers
3k
views
Radiation Hardening KOTH
The goal of radiation hardening is to make a program still work after you remove a byte. However, what if a skilled competitor is purposefully trying to mess with you?
In this game, each bot will take …
1
vote
The Dating Game / Secretary Problem
Anything but the worst
class AnythingButTheWorst:
"""
Will accept anyone as long as there is someone worse
"""
# rng is a seeded PRNG you can use, no other forms of randomness allowed …
18
votes
19
answers
6k
views
The Dating Game / Secretary Problem
The bots are looking for love. Can you help them?
The rules
The goal of this game is find the bot you have the highest compatibility with. However, robots, who are inexperienced at dating are unable t …