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 [tag:code-challenge].

learn more… | top users | synonyms

15
votes
33answers
2k views

What's wrong with public variables?

Code Bots I hate private and protected variables. I just want to access anything and everything! If you are like me, then this challenge is for you! Write a bot that works together in harmony with ...
66
votes
54answers
7k views

BrainF***edBotsForBattling - A Brainf*** Tournament

All bots at the battle arena suddenly got brainfucked and no one can explain why. But who cares as long as they are still able to fight - although Brainfuck is the only language they understand ...
-5
votes
1answer
184 views

The Good, The Bad and The Ugly [closed]

The Good, The Bad and the Ugly Gameplay This will be a 5 or 4 stage (the decision will be explained later) king-of-the-hill tournament where programs are pitched against each other to solve an ...
35
votes
24answers
4k views

Stack Exchange Stock Exchange ~ Revised

Background You are all traders for a slightly less than reputable stock firm. You all are part of a group of traders who focus only on one specific stock. Each hour each trader has a chance to Buy X ...
15
votes
8answers
2k views
+100

Traders to the Death

You are a foreign trader, hoping to make a profit. There are 5 goods people wish to trade: Apricots, Boars, Canaries, Daffodils, and Earwigs. Starting in the winter, you need to decide what to ...
2
votes
1answer
450 views

Stack Exchange Stock Exchange Tournament [closed]

Introduction Greetings fellow traders, you have just entered the Stack Exchange stock exchange. Here you will compete to earn the money by buying and selling shares (unfortunately, we only have the ...
46
votes
40answers
6k views

Four-Man Standoff

4-Man Standoff Description You've somehow found yourself into a four-way standoff. A loaded gun rests in your hands, and some grenades are hooked on your belt. The objective is to have the most ...
26
votes
7answers
2k views

Programming Pac-Man

Programmin' Pac-Man Setting You play as Pac-Man. You want to collect pellets, fruit, and power pellets before anybody else, all while avoiding ghosts. Rules Every valid Pac-Man will be in a ...
26
votes
9answers
4k views

3D: Discrete Dogfighting Duel (Now open to non Java submissions)

UPDATE: isSuicidal() was added to the plane class, this allows you to check if a plane is on an irreversible collision course with the walls!! UPDATE: updateCoolDown() separated from simulateMove() ...
79
votes
75answers
11k views

The Rock, Paper, Scissors, Lizard, Spock Tournament of Epicness

Most Recent Leaderboard @ 2014-08-02 12:00 | Pos # | Author | Name | Language | Score | Win | Draw | Loss | Avg. Dec. Time | ...
116
votes
53answers
10k views

Caveman Duels (or: Me poke you with sharp stick)

Caveman mad. Other caveman take stick but stick was for me. Caveman fight! Description Caveman need sharp stick to stab other caveman. Other caveman also try to stab with sharp stick. Caveman ...
16
votes
6answers
953 views

Slime: The Territory War

You are a glob of slime. Naturally, being slime, you want to ooze over as much area as possible. But there are 3 other slimes who want to do the exact same thing. Who will be the superior slime? ...
42
votes
22answers
3k views

Save the last bullet for yourself

The contest is now over. Coward is the winner. You can watch the last match here. Suddenly zombies appear! OH NOES! In this king-of-the-hill challenge, you must create a bot to survive the ...
14
votes
6answers
903 views

Let's have a tank war!

Let's have a tank war! Partially inspired by Destroy Them With Lazers Objective Your task is to control a tank. Move around and shoot other tanks and obstacles in the 2D battlefield. The last tank ...
30
votes
9answers
1k views

Battle for the Petri Dish

In this challenge, you must design a species of single-celled organisms to fight to the death in the petri-dish arena. The arena is represented as a rectangular grid, where each cell occupies one ...
100
votes
91answers
16k views

Good Versus Evil

Results - July 19, 2014 The current King of the Hill is Mercenary by user Fabigler! Keep submitting entries and knock him off of his throne! Click here to view the Scoreboard. Programs submitted on ...
86
votes
45answers
7k views

Survival Game - AlienWar

AlienWar This game takes place in a very crowded planet where aliens are the superior race. Your task is to create your own alien and beat all other. The Board It is a 2 dimensional board. The ...
9
votes
0answers
552 views

Design and Solve a Maze [on hold while sandboxing]

Your task is to play the roles of both characters in this scene from Inception. In it, Cobb gives Ariadne a challenge: You have two minutes to design a maze that takes one minute to solve. Some ...
21
votes
6answers
1k views

Hot Potato Salesman

Given a list of points, find the shortest path that visits all points and returns to the starting point. The Travelling Salesman Problem is well-known in the computer science field, as are many ...
13
votes
6answers
1k views

Prisoner's Dilemma v.2 - Battle Royale

In this question, a game was devised in which players would face each other off pair by pair in the Prisoner's Dilemma, to determine which iterative strategy scored the highest against others. In ...
9
votes
8answers
1k views

King of the Walls

Notice This challenge has ended and will not be re-judged, but feel free to post answers and test your program against the others with the Control Program! The aim of this challenge is to ...
16
votes
4answers
713 views

The Easter Egg Hunt on the Hill

Easter Egg Hunt Bot find egg before bunny find egg. Bot happy. Overview This is a king-of-the-hill challenge in honor of Easter and the Easter egg hunting tradition! Your bot has a vision of two ...
51
votes
9answers
3k views

Hunger Gaming - Eat or Die

Hunger Gaming - Eat or Die If you don't eat, you die. If you eat, you live (until you die). You will die, so try to die last. Overview There is an island populated with a herd of prey animals. You ...
21
votes
5answers
996 views

King of the Hill: Speed Clue AI

Speed Clue Cluedo/Clue is a classic board game with a compelling deduction gameplay component. Speed Clue is a 3-6 player variant that emphasizes this component by using only the cards. The result ...
172
votes
53answers
21k views

Survival Game - Create Your Wolf

The Board The Board is a two dimensional array of cells. Cells are populated by Animals. Every day, all Animals on the Board simultaneously make one move. If two or more Animals move to the same ...
15
votes
4answers
1k views

2048 king on the hill

We have been cloning 2048, analyzing 2048, but why haven't we played it yet? Write a 555 byte javascript snippet to play 2048 automatically, the best score after an hour will count (see scoring ...
62
votes
18answers
4k views

BattleBots: The Tournament

The results are in, the contest is over. The winner is arshajii's EvilBot with 14 wins ahead of Neo-Bot with 13 wins and CentreBot and LastStand with 11 wins each. Scores from the final run ...
15
votes
3answers
853 views

The Tic-tac-toe Games

Create a deterministic program to play nd tic-tac-toe with the other contestants. Your program should work when n (width) and d (dimension number) are in these ranges: n∈[3,∞)∩ℕ ie a natural ...
7
votes
4answers
570 views

Build a deterministic Go AI

Here's an interesting problem I thought of the other day, which involves bits of code competing against other bits of code not just in a property that the code has, but by playing a game against those ...
15
votes
2answers
1k views

win a virtual fencing match (against your fellow stack exchangers)

WARNING: this is a fairly complex problem, in a king-of-the-hill combat style, with an added randomness to it, the best code may not always win. Please read all rules in full, as it is quite complex! ...
20
votes
26answers
2k views

Lowest unique bid auction

Thanks for all the entries, the deadline has now passed and the final scores are at the end of the question. Congratulations to PhiNotPi on a fairly comprehensive victory. This is a ...
8
votes
2answers
616 views

A BlackJack KOTH contest

BlackJack As I had a blast working on the original KOTH challenge, I wanted to come up with another one. For me, the fun of these AI challenges is in refining a comparatively simple bot ...
30
votes
19answers
3k views

1P5: Iterated Prisoner's Dilemma

This task is part of the First Periodic Premier Programming Puzzle Push and is intended as demonstration of the new king-of-the-hill challenge-type proposal. The task is the write a program to play ...