Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*"
Saves in:saves
Status closed:yes
Types is:question
Exclude -[tag]
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 32107

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

1 vote

Morra, the Noble Game of Kings

KING FISHER import java.util.Random; public class KingFisher { private Random rnd = new Random(); private int wins = 0; private int loses = 0; private int median = 0; private …
  • 437
22 votes
13 answers

Fastest gun of the west, king of the hill challenge

This is a King of the Hill challenge in a round robin. It's a battle to find the best gunman of the west! To be able to compete in this contest you need to make two functions. The first one sets the …
  • 437
4 votes

Fastest gun of the west, king of the hill challenge

var bot = { name: "testBot", numbOfBullets: 7, reloadSpeed: 1, shotsPerTurn: 1, moveSpeed: 2 } return bot var shots = [] var testBot_moveUp = true if(Math.random() * 3 > 1) …
  • 437