@quartata based on the number of players. I haven't actually done the map generation yet, but the actual shape of the map is going to be randomized (Perlin noise)
I was playing Project Zomboid and I thought it was a good idea to craft a molotov cocktail. Boy was I wrong! I had BURNING zombies coming after me and they JUST WOULDN'T DIE. Even though I used the cocktail in quite open ground, away from the buildings, the zombies started walking in all directions burning down the entire town. Never again! — AmazingDreamsyesterday
Draw me a Square, Regex
code-golf regex
Challenge
Using the Regex Image Maker found here, create a regular expression which will create the image of a square.
Regex Image Maker
The regex image maker works by seeing if the inputted regular expression matches the x coordinate and/or/xor the y ...
But I was enlightened by the standard filename format for NetHack bones, now trying to test a way to find the standard filename format for UnNetHack bones.
@betseg that looks pretty interesting. It prolly won't get a ton of answers because it looks hard, but I'd +1 it. Maybe provide a little more details about how which directions apply to which faces?
@Betseg I can solve a cube, so I could probably figure it out from the examples, but it should be written for someone who knows nothing about rubiks. Maybe add some details about the starting faces too
MATL, 2 bytes, noncompeting
:p
Explained:
: % generate list 1,2,3,...,i, where i is an implicit input
p % calculate the product of of all the list entries (works on an empty list too)
Try It Online!
A Rubik's cube has 6 colors: red, orange, yellow, white, blue, and green. Red and orange, yellow and white, and blue and green faces are on opposite sides.
Net of a solved Rubik's cube looks like this:
Y
BRGO
W
And the tiles look like this:
Y Y Y
Y Y Y
Y Y Y
B B B R R R G...
A Rubik's cube has 6 colors: red, orange, yellow, white, blue, and green. Red and orange, yellow and white, and blue and green faces are on opposite sides.
Net of a solved Rubik's cube looks like this:
Y
BRGO
W
And the tiles look like this:
Y Y Y
Y Y Y
Y Y Y
B B B R R R G...
@MitchSchwartz see, the weird thing is that it seems that the tape is left of the program, and <+ actually affects the variable that is used as the depth counter for loops (which would explain why that does something to the unmatched bracket).
Surreal numbers are a number system that maps ordered sets of numbers to sets of vectors in complex space off of their relation to the Julia set. Each surreal number is defined by: 1) the seed of the Julia set from which data will be drawn, which itself is a complex number, 2) the escape value for that set, 3) the number of iterations before which the escape value is reached (by which possible starting values for the complex vector are obtained), 4) the number of iterations before... (cont)
… which the escape value for the end of the vectors is reached, and 5) the length of the requested vector. All vectors of the requested length with beginnings and endings in their respective sets of valid points will be returned, and it is highly difficult (although possible) to coalesce into only one vector. Operations such as addition and multiplication are vectorized across the Cartesian product of their arguments.
Backstory
You will be participating in a special biking event that involves different courses consisting of slopes. A typical course will look like this:
🚲_
\ _ __
\__/ \__ _/ \__
\__/
What is important about the event is that you begin and end the course wi...
@flawr So I can update the image and use the font elsewhere
@NathanMerrill I don't think so. As far as I remember I just typed "Helka Homba" in some font in Gimp. It's not a trick question. It's really confusing me :I