Skip to main content

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
56k 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
101 votes
79 answers
18k views

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

Most Recent Leaderboard @ 2014-08-02 12:00 ...
Eoin Campbell's user avatar
135 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
44 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
50 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
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
28 votes
20 answers
3k views

Cooperative Counting

Final results 1st place goes to Follow! Honourable mentions to The diff predictor (2nd), and Simple Killer, Low Blow and High to Low (joint 3rd). Other winners: (score competition) 1st - Simple Killer ...
user19642323's user avatar
19 votes
12 answers
2k views

Connect-n time!

https://en.wikipedia.org/wiki/Connect_Four Does anyone remember the 2 player game connect 4? For those who don't it was a 6x7 board that stands vertical on a surface. The goal of connect 4 is to, ...
J Atkin's user avatar
  • 5,090
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.5k
104 votes
32 answers
13k 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
96 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,429
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.6k
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
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,008
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
32 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,540
24 votes
21 answers
2k views

Prisoner's Dilemma with access to opponent

In this challenge, you will write a bot that play's the prisoner's dilemma. Here's the catch: you will not have access to the history of previous games. Instead, you will have access to the opponent ...
soktinpk's user avatar
  • 4,452
23 votes
9 answers
3k 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 ...
Manuel Allenspach's user avatar
18 votes
9 answers
1k views

Asymmetrical KOTH: Catch the Cat (Catcher Thread)

UPDATE: The gist-files are updated (including new submissions) as the Controller.java did not catch Exceptions (only errors). It does now catch errors and exceptions and also prints them. This ...
flawr's user avatar
  • 43.8k
15 votes
9 answers
1k views

Asymmetrical KOTH: Catch the Cat (Cat Thread)

UPDATE: The gist-files are updated (including new submissions) as the Controller.java did not catch Exceptions (only errors). It does now catch errors and exceptions and also prints them. This ...
flawr's user avatar
  • 43.8k
14 votes
3 answers
1k 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 ...
arrdem's user avatar
  • 846
14 votes
9 answers
1k views

Bot Factory KoTH (2.0)

In this challenge, bots (consisting of JS functions) move around an infinite factory (playing field), collecting characters. These characters can be used to build worker bots, or dropped for other ...
Rydwolf Programs'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
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
81 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,883
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
  • 1,009
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.4k
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
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
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
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
28 votes
21 answers
4k views

Morra, the Noble Game of Kings

Background The game of Morra is a simple game. In the "original" version, several players simultaneously throw out a number 0-5 with their hands while guessing the total sum of everyone's hands. ...
PhiNotPi's user avatar
  • 29.1k
22 votes
15 answers
2k views

Stock Exchange KoTH

The stock market is all about the speed of knowledge. Unlike previous challenges, the current stock price is not random: it is determined by those playing the game. If you can identify an under-...
Nathan Merrill's user avatar
22 votes
13 answers
2k views

KOTH: Warring Towns

Final results are here ! Introduction The game takes is strongly inspired by Manu's Game of Town. It takes place in a world of swords and magic. The king who ruled the whole continent just died, and ...
Thrax's user avatar
  • 1,883
22 votes
26 answers
6k 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 king-of-the-...
Gareth's user avatar
  • 11.4k
19 votes
2 answers
951 views

Play a game of Yahtzee

In the game Yahtzee, players take turns rolling 5 6-sided dice up to three times per turn, possibly saving dice between rolls, and then selecting a category they wish to use for their roll. This ...
user avatar
18 votes
0 answers
659 views

Play Thud! (Dwarf Edition)

Key links: Troll question Chat room Game Controller Interface Dwarf league table ...
AJFaraday's user avatar
  • 11.8k
17 votes
24 answers
2k views

Prisoner's Dilemma v.3 - Petri Dilemma

A mad scientist has just created a new species of bacterium! He has decided to name it Noblus Gentlemanus, after observing its behaviour. However, his bacteria have ran out of food, and have ...
Gryphon's user avatar
  • 7,235
16 votes
17 answers
3k views

Keep your distance!

Every player has a number. Can yours be the farthest from them all? Requirements Write a Java, Python 2, or Ruby function named choose() that accepts three ...
Ypnypn's user avatar
  • 10.9k
15 votes
0 answers
620 views

Play Thud! (Troll Edition)

Key Links Dwarf question Chat room Game Controller Interface Troll league table ...
AJFaraday's user avatar
  • 11.8k
15 votes
6 answers
2k 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 ...
Joe Z.'s user avatar
  • 35k
14 votes
5 answers
905 views

Tips for King of the Hill bots

What general tips do you have for creating a bot to participate in a King of the Hill challenge? What strategies do you use to go from considering the challenge to creating your bot? What data ...
mbomb007's user avatar
  • 23.4k
13 votes
10 answers
871 views

Code Bots 3: Parallel Programming Antipatterns

Welcome back! I'm excited to present the 3rd CodeBots challenge. This one has been a long time in the making. This challenge will be split up in 3 sections: the short version, the long version, and ...
Nathan Merrill's user avatar
12 votes
19 answers
2k views

KOTH - Loaded RPS

Contest permanently opened - Updated August 10th 2017 Even though on June 5th 2017 I declared a winner (who will be kept as the best answer) I'll be rnning new bots and updating the results. June 5th ...
Masclins's user avatar
  • 943
11 votes
16 answers
2k 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 make ...
Nathan Merrill's user avatar
7 votes
6 answers
698 views

Bot Factory KoTH [duplicate]

Note: Bot Factory KoTH (2.0) is now posted; you're probably looking for that one instead! In this challenge, bots (consisting of JS functions) move around an infinite factory (playing field), ...
Rydwolf Programs's user avatar