@JonathanVanMatre I'd like to point out that my question contains potential cycles, whereas the other does not. The algorithm to solve such a problem falls into a completely different class of hardness
From the bibliography of chapter 1 of the 1962 A Programming Language, I found this intriguingly concise description of a forward-Polish (Lukasiewicz) Logic Machine. And I think I'm with it up to this part on the Logic Function F:
What does (2a) mean? How is this a function?
Here's my implemen...
This user likes to copy people's ideas and translate literally into other languages. For example, this post: http://codegolf.stackexchange.com/a/23951/9498 from my post: http://codegolf.stackexchange.com/a/23822/9498 (note that I golfed mine more after he copied it).
His code was in TI-83/84 Bas...
Your challenge today is to write the worst website you possibly can!
Rules:
You must use HTML combined with any other language(s) of your choice. (For example, CSS and JavaScript might be common choices.)
Your goal is to create the worst website possible! This includes but is not limited to:
...
Minesweeper Solver
code-golf algorithm
We already generated Minesweeper fields, but someone really has to sweep those generated mines before they explode.
Your task is to write a Minesweeper Solver interfacing the accepted solution of “Working Minesweeper”.
Rules:
No Standard "loopholes" wh...
Imagine you are working on a 3D adaptation of the classical video game Asteroids. Your task is to write an algorithm that can create a random 3D asteroid.
This is a popularity contest, not code golf. Write nice code and create interesting results. Add other cool features if you want.
Rules:
Y...
Oh I think it's good. It's not quite my area, so I'm not sure how I'd go about solving it. Barring that, I can't really evaluate it. Except to say that I do like linking-up new challenges with the previous ones, making a network of related implementation goodies.
Maybe I'm distracted. It needs some kind of backtracking search, right?
@luserdroog Backtracking is not possible. Do you back track in Minesweeper once you blew up yourself? ;)
What's your opinion on the question at the end? a) Communicate directly with the other program or b) Only use the format as input / output of a function?
I can't remember the details but I have encountered difficulty getting a program to both send output to another program and receive its output via pipes.
But I also remember getting it to work eventually, somehow.
So I don't see any issues with the challenge, except, the question text is rather short. It could use some jazzing-up. :)
Usually if you blow after the first few clicks, you call "mulligan" and play again.
It's only after you open up a patch that the "game" starts.