Questions tagged [simulation]
For challenges involving simulation.
46 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
17
votes
1
answer
5k
views
Simplified Piet Interpreter
Background
Piet is an esoteric stack-based programming language in which programs are images meant to resemble abstract paintings.
To keep the challenge from being unnecessarily complex, you will not ...
12
votes
5
answers
631
views
Resolve a Super Auto Pets Round
In Super Auto Pets, players build teams of animals that face off in battles to the death unconsciousness. Each animal has an Attack and Health value, and combat occurs in iterations of the following ...
21
votes
25
answers
3k
views
Climbing the Bookshelf
Introduction
You're making a robot that can navigate a set of books of varying heights. It can climb books and jump off books, but if the distance is too big it will stop to prevent damage. To figure ...
3
votes
2
answers
237
views
A Suitable Mission — The Professor's Revenge
Summer Klerance turned in her term assignment for this challenge. Her professor was miffed (but also amused) when he overheard a disgruntled classmate of Summer's saying she got her answers by ...
8
votes
7
answers
535
views
A Suitable Mission
Summer Klerance, a senior in college, is what her teachers refer to as GBL*. Students in her probability class have been assigned individual problems to work on and turn in as part of their final ...
14
votes
12
answers
2k
views
Pass The ⚽️ Around The Circle
The ball game is a game in which a number of players sit together in a circle. Each player is first assigned a number \$ n \,ドル either 1, ...
10
votes
8
answers
1k
views
Produce an image based on an elementary cellular automata ruleset
What is elementary cellular automata?
Since I'm not sure I'll be able to explain this so that somebody who has never heard of this is able to understand, I'm giving an explanation from https://...
10
votes
3
answers
312
views
Simulating Crashing Cars
Introduction
I have some ASCII cars that have velocity and direction. Their velocity is represented by their number. If a car is <> then it has stopped. For ...
15
votes
8
answers
1k
views
Simulate a model neuron
An Izhikevich neuron is a simple yet quite effective model of a biological neuron, designed for use in a discrete time-stepping simulation. In this golfing challenge, you will be implementing this ...
19
votes
2
answers
3k
views
Implement the Boids algorithm
Introduction
The Boids Algorithm is a relatively simple demonstration of emergent behavior in a group. It has three main rules, as described by its creator, Craig Reynolds:
The basic flocking model ...
2
votes
6
answers
383
views
52 Week Challenge [duplicate]
The 52 week challenge is a way to save money. For example, Week 1, you save 1ドル.00. Week 2 you save 2ドル.00, and it continues through the year, adding one more dollar to each week’s savings goal. By Week ...
38
votes
7
answers
3k
views
Will I make it out in time?
Inspired by this.
Background
The evil farmer has decided to burn your wheat field down in order to drive up the prices. To ensure total destruction, he has also soaked your field in gasoline. Even ...
30
votes
14
answers
7k
views
Kill it With Fire
Disclaimer: The story told within this question is entirely fictional, and invented solely for the purpose of providing an intro.
I am an evil farmer, and to drive up the price of wheat in my area, ...
12
votes
4
answers
401
views
Playing with robots for kids - Which letter will I reach?
TL;DR: Given an array of chars and a robot in a starting position of the array, write an algorithm than can read a string with movements (F for "go forward", ...
29
votes
9
answers
2k
views
Fire propagation simulator
Suppose we have a matrix like this:
11111
12221
12321
12221
11111
This matrix represents a terrain, and each cell represents a portion of terrain. The number in ...