Search Results
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) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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].
2
votes
The Rock, Paper, Scissors, Lizard, Spock Tournament of Epicness
qeylIs-bortaS - var'aq
I do believe this is the only one in Klingon...
Chooses a random number and 'translates' the number into R, P, S or L. The program is biased against Spock, because Klingons ha …
1
vote
The Rock, Paper, Scissors, Lizard, Spock Tournament of Epicness
The Triangulator: Python 3.2
This program takes the previously played moves, analyses for biases and adds biases to its own moves. Throughout the game it is constantly triangulating its play pattern. …
9
votes
Stack Exchange Stock Exchange ~ Revised
Walt Disney - Python 3
Walt waits until the shares hit rock bottom and then buys as much as his money allows. Then, when the price soars, he sells them all.
Based upon Disney's strategy when he 'sur …
1
vote
Stack Exchange Stock Exchange ~ Revised
Ol' Timer - Fortran 77
This old man is going to waste away his pension after sixty years of working as an office clerk. During his old age, however, he became quite blind, so he can only see he first …
1
vote
Stack Exchange Stock Exchange ~ Revised
Time is Right - Python 3
I got bored so I wrote another entrant...
This young entrepeneur lives his life by the clock. When the time is right, he makes a decision. He also annoyingly uses French out …
1
vote
Gold Collector KoTH
X Marks The Spot | JavaScript
function(me, others, coins){
if (me.locationY != 0) {
// If not on X axis
if (others.every(other => other[1]==me.locationY-1)) {
// If …
1
vote
Gold Collector KoTH
ICE Agent | Javascript
function(me, others, coins) {
me.arenaLength = me.arenaLength - 1;
// Calculate the average coin value of bots
var avg = 2;
for (var i = 0; i < others.length …
2
votes
Gold Collector KoTH
Retired ICE Agent, JavaScript
Preferred colour: indianred
function(me, others, coins) {
me.arenaLength = me.arenaLength - 1;
// Calculate the average coin value of bots
var avg = 2;
…
3
votes
1
answer
631
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 s …
10
votes
Gold Collector KoTH
The GUT, JavaScript
function gut(me, others, coins) {
// Prepare values for the calculation
var x = me.locationX;
var y = me.locationY;
var cMe = me.coins+1;
var arenaLen = me.a …
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 yo …
2
votes
BrainF***edBotsForBattling - A Brainf*** Tournament
Russian Roulette
I have no idea if this bot will work or not... Just have to wait and see!
(>->[(+)*10])*5(-)*10
(> Move forward 1
- Decrement by 1
> Move forward 1
[(+) …
4
votes
BrainF***edBotsForBattling - A Brainf*** Tournament
Prussian Roulette
Russian Roulette made a bet with his friend Prussian, and now it's his turn to play.
>(+)*5(-.[>.[>(-)*10]]>>)*1000
1
vote
BrainF***edBotsForBattling - A Brainf*** Tournament
Roomba
Isn't very intelligent but tries its best at edge detection.
((>)*2((<)*2(+)*10)[>(-)*10])*100
2
votes
The Cake Cutting Contest
IWMBAICBIWT, Python
import sys
degreesleft = int(sys.argv[2])
peopleleft = int(sys.argv[4])
print(round(degreesleft/peopleleft))
IWMBAICBIWT (It was my birthday and I cried because I wanted to) a …