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
8 votes
6 answers
611 views

KotH - Floating Point Prisoners Dilemma

Background So, nowadays the popular Prisoner's Dilemma variant is the Prisoner's Trilemma, where there are three options. I can easily see that being increased, so I figured Why settle for three ...
18 votes
16 answers
3k views

Adversarial Iterated Prisoner's Dilemma

In this challenge, you will play the iterated Prisoner's Dilemma, but with a twist: There's also an adversary trying to mess you up! The Prisoner's dilemma is a scenario in game theory where there are ...
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 ...
6 votes
0 answers
348 views

Crazyhouse chess KoTH

What is Crazyhouse Chess? Crazyhouse Chess is a chess variant that is basically normal chess except you can place a piece you previously captured back on the board instead of a regular turn. Bot ...
18 votes
19 answers
5k 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 ...
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() ...
12 votes
4 answers
844 views

Tron Light-Cycle KotH

Basically the tron light-cycle game as a king of the hill competition! Leaderboard Updated as of 2022-04-05 ...
24 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 ...
13 votes
16 answers
2k views

Speed up, slowpoke!

In this king-of-the-hill challenge, you will program a bot, consisting of a python function of the form def BOTNAME(info, me, round): pass # ... main body ...
17 votes
2 answers
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! ...
2 votes
1 answer
377 views

King of the Cards

King of the Cards Code available here! In this King of the Hill challenge, you must write a bot that can play Crazy Eights. This is a card game often played by children, in which the objective is to ...
-5 votes
2 answers
279 views

King of the Hill: Greed Control [duplicate]

King of the Hill: Greed Control What is Greed Control Greed control is a multiplayer round-based game in which in every round, a player bet a number inside a ...
21 votes
17 answers
2k views

King of The Holster (finished)

CLOSED to competing entries New bots are welcome but are not part of the main competition and probably won't be officially tested. You stand on a dusty stretch of code, watching the other programs ...
14 votes
9 answers
998 views

King of the Ziggurat

Background You awake on the ground. Above you is a giant stepped pyramid-like structure. Based on your ancient history lessons, you recognize it as a ziggurat. You have been transported by Dr. ...
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 ...
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 ...
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 ...
16 votes
24 answers
935 views

Simple Race KoTH

This challenge has officially ended. Further submissions will not be competitive (but are still welcome!). View the scores here In this challenge, submissions ("bots") should be Javascript ...
7 votes
6 answers
696 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), ...
8 votes
2 answers
832 views

Knights and Knaves and Codes

In this challenge, your bot has landed on an island with the stereotypical knights and knaves. Knights always tell the truth, and knaves always lie. The objective is to find the correct 32 digit ...
9 votes
5 answers
921 views

Hungry Blobs KoTH

Contest Finished! Read comments on blobs to view their score. This KoTH is loosely inspired by Primer's Natural Selection Simulation. Your bot is a blob. In order to survive, you must eat pellets to ...
18 votes
6 answers
893 views

KoTH: Political Simulator

It's election time, and your job is to beat your competitor in a head-on rivalry! You are both trying to win over a city of 256 people in a 16x16 grid. Right now, the city hasn't been divided into ...
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 ...
16 votes
17 answers
1k views

Liars and Guessers

Github You have probably played, and may even have written a program to play, a simple number guessing game. If so, this probably looks familiar: ...
18 votes
14 answers
2k views

King of the Hill: Nose Poker - An ogre game for ogres

Links Chat room The official game report Github repo - In case of bugs to report Here's the official score table: ...
110 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 ...
10 votes
16 answers
1k views

Rock Paper Scissors Meta-Gaming Tournament

This is a rock paper scissors competition. Algorithms will face each other in 100 rounds of rock paper scissors. Except that the algorithms will also be able to read the source code of each other! ...
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 ...
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 ...
7 votes
1 answer
455 views

Chase the Easter Bunny™️️, be the Easter Bunny™

Chat room: https://chat.stackexchange.com/rooms/106513/easter-bunny-challenge Git repo: https://github.com/ajfaraday/easter_bunny_hunt The garden is a 2-dimensional grid with 49 rows and 49 columns. ...
15 votes
0 answers
593 views

Play Thud! (Troll Edition)

Key Links Dwarf question Chat room Game Controller Interface Troll league table ...
18 votes
0 answers
645 views

Play Thud! (Dwarf Edition)

Key links: Troll question Chat room Game Controller Interface Dwarf league table ...
12 votes
16 answers
2k views

Random Prisoner's Trilemma - Python 3 KOTH

The Prisoner's Dilemma, but with 3 choices, and the payoffs are random! Each round, your bot recieves a 3x3 grid and chooses a row to play. The grid might be this: ...
9 votes
3 answers
497 views

Turn-based RPS Poker

This is a two-player card game which resembles a vastly simplified game of Texas Hold'em, combined with RPS (rock-paper-scissors) and the most basic mechanic of commercial turn-based card games. The ...
6 votes
6 answers
842 views

Let's play Judgement!

In this king-of-the-hill challenge, you will be making a python 3 bot to play the card game judgement! Sandbox Rules Judgement is a hand based game similar to games like rummy. In each round, 7 cards ...
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. ...
4 votes
7 answers
462 views

Time bomb (KoTH) [duplicate]

In this challenge, players need to tamper with a time bomb as late as possible without getting blasted in the face. Mechanics Let N be the number of bots plus one. ...
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 ...
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 ...
17 votes
12 answers
2k views

Ball game King of the hill

AND THE WINNER IS.... Note: Competition is over, but more submissions are welcome! Ball game is a game I invented where two players start with 100 energy each. Every turn, each player independently ...
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 ...
12 votes
2 answers
415 views

One-card Poker for Two

This is a challenge to write bots to play the 1st and 2nd players in the following simple poker game. Rules of the poker game There are two players, A and B. Each antes $10 into the pot, and is dealt ...
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 ...
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 ...
11 votes
20 answers
1k views

KoTH: Wizard Battle

In this challenge, all bots are wizards. At the beginning of each round, they create a wand which has a certain chance of successfully stunning another wizard. They then fight, by choosing one bot to ...
18 votes
11 answers
2k views

KoTH: Highest HP is Eliminated!

In this challenge, bots must survive as long as possible. In each turn, the bot with the most HP is eliminated. This challenge is inspired by the Smallest unique number KoTH. Results After 100,000 ...
17 votes
8 answers
2k views

Stage a Coup to become king of the hill!

Leaderboard ...
18 votes
4 answers
1k views

Game of Game of Life

Game of Game of Life Conway's Game of Life is a 0-player game. But that's okay! We can make it a multi-player game. This game is played on the smallest square grid that will accommodate a 6x6 ...
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 ...
117 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 ...