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

13
votes
9answers
927 views

Treasure Hunting on a Deserted Island

Introduction You are stranded on a deserted island with some servants and are hunting for treasure. The longer one searches, the more treasure one finds. The fewer people searching, the more each ...
12
votes
4answers
566 views

Scriptbot Warz!

Scriptbot Warz! The results are in and Assassin is our champion, winning 2 of 3 matches! Thanks to everyone who submitted their Scriptbots! Special thanks to horns for BestOpportunityBot which ...
5
votes
4answers
995 views

Penalty Shootout

Penalty shootout Welcome to CG world cup. Your job: Code a penalty shooter and goal keeper! Rules of the game: The goal is 700 cm wide and 200 cm tall. If I have to make a rectangle out of it, ...
10
votes
16answers
1k views

CodeBots 2: Event Driven Design

Welcome to Code Bots 2! You've learned your lesson since the last Code Bots. You've tried to figure out more ways to fit more actions in less lines, and now you finally have it. You're going to ...
13
votes
9answers
1k views

Chess Tournament

This is a chess-KOTH with simplified rules (because chess itself is already complicated, playing it via a simple program doesn't make it easier). At the moment it is limited to java (version 8), but ...
31
votes
46answers
4k 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 ...
73
votes
59answers
9k 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 ...
34
votes
25answers
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 ...
18
votes
8answers
2k views

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
481 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() ...
81
votes
75answers
12k 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 | ...
120
votes
53answers
11k 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
1k 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? ...
43
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 ...
15
votes
6answers
979 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 ...
102
votes
92answers
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 ...
87
votes
45answers
8k 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 ...
11
votes
0answers
648 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 ...
10
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
760 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 ...
52
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
1k 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 ...
178
votes
53answers
23k 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 ...
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
922 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
597 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 ...
16
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! ...
21
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 ...
10
votes
2answers
659 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 ...