Questions tagged [king-of-the-hill]

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].

Filter by
Sorted by
Tagged with
247 votes
56 answers
55k 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 cell, ...
Rainbolt's user avatar
  • 6,376
154 votes
57 answers
16k 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 can ...
Doorknob's user avatar
  • 71.4k
134 votes
22 answers
13k views

Red vs. Blue - Pixel Team Battlebots

This contest is officially over. The Blue Team won! I autoran two sets of 50 battles and amazingly, Blue won all 100 of them. Looking at the stats, it is clear that the cooperative entries of PhiNotPi ...
Calvin's Hobbies's user avatar
116 votes
92 answers
19k 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 ...
Rainbolt's user avatar
  • 6,376
116 votes
10 answers
11k views

Totally Blind Chess

In this challenge, you play chess without seeing any of your opponent's pieces or moves. Or your own pieces. Or whether your own moves succeeded. You send only a stream of moves, with no feedback. If ...
feersum's user avatar
  • 31.3k
109 votes
31 answers
12k views

What Doesn't Kill Me…

Overview This is a bot battle to see who can survive the longest. These bots increase their power by being attacked, though, so you need to think carefully before you shoot. Each turn, you can ...
Geobits's user avatar
  • 19.7k
104 votes
32 answers
12k views

Formic Functions - Ant Queen of the Hill Contest

Watch live | Active answers | Add new answer | Chat room | Source code | Leaderboard New tournaments whenever needed. New players and new updates very welcome. Not actual game footage. Each player ...
trichoplax is on Codidact now's user avatar
101 votes
79 answers
17k views

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

Most Recent Leaderboard @ 2014-08-02 12:00 ...
Eoin Campbell's user avatar
97 votes
44 answers
11k 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 ...
Manuel Allenspach's user avatar
95 votes
63 answers
12k views

xkcd 2385 KoTH (Final Exam)

Results are now out here! Congratulations offset prediction for winning the challenge! Don't worry if you missed out, the controller code as well as all the bots that competed are all in the Github ...
EnderShadow8's user avatar
  • 1,419
89 votes
57 answers
12k 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 ...
redevined's user avatar
  • 1,331
80 votes
37 answers
10k views

KOTH: A world-wide pandemic

Final results are here ! Introduction In 2042, the world has become overpopulated. Globalization, overcrowding, new lifestyles and a global lack of hygiene has caused a new pandemic to spread. ...
Thrax's user avatar
  • 1,873
74 votes
18 answers
8k views

The Futuristic Gun Duel

The Background Future In the year 2017, you and your opponent will face off in a futuristic gun battle where only one may survive. Are you experienced enough to defeat your opponent? Now is the time ...
Frenzy Li's user avatar
  • 999
68 votes
18 answers
6k 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 ...
Gareth's user avatar
  • 11.3k
64 votes
23 answers
4k views

King of the Hill - Spacewar!

If you've ever played Spacewar!, you know it was a fun game. If you haven't, know this: it was (and is) one of the very first and most important computer games. And it's still fun! The clone I grew up ...
El'endia Starman's user avatar
62 votes
7 answers
2k views

It's Life, Jim, but not as we know it

You probably know Conway's Game of Life, the famous cellular automaton invented by mathematician John Conway. Life is a set of rules that, together, allow you to simulate a two-dimensional board of ...
Blue's user avatar
  • 28.5k
61 votes
50 answers
10k views

Art Attack KoTH

Entries are now closed. Any new entries or edits will not be counted in the final run. Join the chat! Challenge Try to fill the canvas with as much paint as possible. Be careful of other bots that ...
Beta Decay's user avatar
  • 23.2k
59 votes
27 answers
9k views

Honest Rock, Paper, Scissors

Many people consider RPS to be a game of chance. If both players play unpredictably, the best strategy is to play randomly. However, let's introduce a bit of predictability to it. Each bot will have ...
Gryphon's user avatar
  • 7,199
59 votes
9 answers
5k 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 ...
Geobits's user avatar
  • 19.7k
57 votes
49 answers
11k views

A game of dice, but avoid number 6

Tournament over! The tournament is now over! The final simulation was run during the night, a total of \$3*10^8\$ games. The winner is Christian Sievers with his bot OptFor2X. Christian Sievers also ...
maxb's user avatar
  • 6,837
55 votes
37 answers
10k views

Robot Roulette: High stakes robot gambling

Final Standings +----------------------------------+---------+---------+---------+----------------------------+ | Name | Score | WinRate | TieRate | Elimination ...
KBriggs's user avatar
  • 691
55 votes
9 answers
5k views

Codémon, I choose you!

Your kindly neighbour, Doctor Tree, just gave you three magical creatures called Codémon. There's a battle tournament in the nearby town of Colorville. Are you the very best, like no one ever was? ...
Geobits's user avatar
  • 19.7k
54 votes
40 answers
8k 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 ...
es1024's user avatar
  • 9,175
51 votes
34 answers
6k views

Gold Collector KoTH

Note: The survey for community favorite will be released soon In this KoTH, the aim is to be the last bot alive. Coins will be placed in random areas, and your bot must get the coins first. If a bot ...
Rydwolf Programs's user avatar
51 votes
22 answers
10k 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 zombie ...
James_pic's user avatar
  • 4,018
50 votes
28 answers
9k views

You are the Weakest Link, Goodbye

This king-of-the-hill challenge is based off of the game show, Weakest Link. For those unfamiliar with the show, the crux of this challenge deals with who you vote off: If the other players are ...
Nathan Merrill's user avatar
47 votes
6 answers
3k views

Let's Play Mafia!

Mafia (also known as Werewolf) is a party game that plays roughly like this: The game begins on day 0. After every day n comes a night ...
user avatar
46 votes
43 answers
5k views

Gold Battle KoTH

This challenge has ended. To see the final scores of the competitors, click here In this challenge, each submission is one bot. Each bot should be a Javascript function. Bots will fight to obtain the ...
Rydwolf Programs's user avatar
45 votes
19 answers
2k views

Battle of the Fellowships KotH

In this challenge, you are going to create a Fellowship with the goal of defeating all other fellowships in battle. A fellowship (team) consists of 3 characters. Each character moves independently ...
Nathan Merrill's user avatar
43 votes
5 answers
3k views

Block Building Bot Flocks!

The contest is over! Intro This is an interactive king-of-the-hill contest where the controller is fully contained in a Stack Snippet at the bottom of the question. The controller automatically ...
Calvin's Hobbies's user avatar
42 votes
21 answers
5k views

Stack Exchange Stock Exchange - V3

NOTICE: This challenge is now closed: I will no longer be updating the leaderboard and will not change the accepted answer. However, you are free to run the controller and update the leaderboard ...
Beta Decay's user avatar
  • 23.2k
39 votes
4 answers
2k views

Let's play Meta tic-tac-toe!

Lets play a game of Meta tic-tac-toe! This is a king-of-the-hill tournament of Meta tic-tac-toe. The rules of Meta tic-tac-toe are as follows: All of the regular rules of tic-tac-toe apply. There ...
DJMcMayhem's user avatar
  • 58.8k
37 votes
20 answers
3k views

Strategic Voting, The Game

One of the most common voting systems for single-winner elections is the plurality voting method. Simply put, the candidate with the most votes wins. Plurality voting, however, is mathematically ...
PhiNotPi's user avatar
  • 28.9k
37 votes
20 answers
4k views

The Ultimate Samurai Showdown

Notice: This king-of-the-hill challenge has completed. This means that the green checkmark, which has been awarded to C5H8NNaO4 for their entry The Observer will not be moved to any new answer. ...
absinthe's user avatar
  • 8,619
37 votes
4 answers
3k views

Splix.io - King of the land

You are an enterprising dot who wants to increase the land under its control. This is quite simple - travel outside your current land and loop back into your land and everything in that loop is now ...
J Atkin's user avatar
  • 5,070
36 votes
24 answers
4k views

Noisy Iterated Prisoner's Dilemma

In this challenge, you will play the noisy iterated prisoner's dilemma. The Prisoner's dilemma is a scenario in game theory where there are two players, each with two options: cooperate, or defect. ...
isaacg's user avatar
  • 41.8k
36 votes
41 answers
5k views

The Cake Cutting Contest

It's my 17th birthday and you're invited to my party! And as always at parties, there will be cake. One cake... And you need as much of it as possible. As this is a fair party, each of us will ...
Blue's user avatar
  • 28.5k
36 votes
22 answers
5k views

Snowball Fight KoTH!

Results (May 22 2017 21:40:37 UTC) Master won 18 rounds, lost 2 rounds, and tied 0 rounds Save One won 15 rounds, lost 3 rounds,...
hyper-neutrino's user avatar
  • 41.1k
35 votes
24 answers
5k views

Stack Exchange Stock Exchange ~ Revised [closed]

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 ...
spocot's user avatar
  • 606
35 votes
19 answers
7k 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 ...
dmckee --- ex-moderator kitten's user avatar
34 votes
46 answers
5k 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 ...
Nathan Merrill's user avatar
34 votes
15 answers
2k views

The Game of Towns

Introduction The game takes place in a small world with different towns. The rulers of the towns hate each other and would like to rule the world. The people are divided into two groups, warriors and ...
Manuel Allenspach's user avatar
33 votes
30 answers
8k views

Dollar Bill Auction

This is a KOTH challenge for the dollar bill auction game in game theory. In it, a dollar is being sold to the highest bidder. Bids go up in increments of 5¢, and the loser also pays their bid. The ...
RamenChef's user avatar
  • 1,214
33 votes
10 answers
11k 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() ...
overactor's user avatar
  • 3,580
33 votes
9 answers
2k 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 ...
apsillers's user avatar
  • 3,692
32 votes
34 answers
6k views

First-price sealed-bid auction

Final Result The competition is over. Congratulations to hard_coded! Some interesting facts: In 31600 out of 40920 auctions (77.2%), the winner of the first round ...
Colera Su's user avatar
  • 2,421
32 votes
23 answers
6k views

Write a bot to play Grid Game

This is the Grid Game: It's a game based on cellular automata, where the aim is to remove all of the pieces belonging to your opponent. How it works: There are two kinds of piece in the game, ...
AJFaraday's user avatar
  • 11.7k
31 votes
7 answers
6k 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 ...
Nathan Merrill's user avatar
31 votes
6 answers
5k views

That's BS! (card game)

BS is a card game where the object of the game is to lose all of your cards. A game consists of four players and a 52-card deck. Each player is randomly dealt 13 cards. Normally, cards are labeled 2 -...
soktinpk's user avatar
  • 4,472
30 votes
42 answers
5k views

Smallest unique number KoTH

Create a bot to choose the smallest unique number. (Based on a psychology experiment I heard about many years ago but haven't been able to track down again.) Rules Each game will consist of 10 ...
user avatar