@undergroundmonorail making hacks for sonic battle, which no one has seem to done before. There's a palette editor for the Japanese version, but nothing for the American version.
@BetaDecay I just don't think that optional arguments really are in the spirit of code-golf. I don't really know why, I just think that it shouldn't be allowed. Now that they are both the same length, I removed the optional-arguments version. — Loovjo3 mins ago
In a few British newspapers there is a game known as Hidato. It is somewhat similar to Sudoku, albeit instead of matching into an unchanging format, it's about matching numbers in that one may connect all numbers diagonally, vertically or horizontally (i.e. they must be touching blocks). Here's t...
basically... you're getting a ton of events, each with a timestamp... you want to keep track of how many events happened in the last X minutes. to do so, you count the events in bins (where each bin corresponds to Y seconds, say), which are arranged in a ring buffer of the required size.
for golfing it would probably be more interesting if you required that each event takes at most O(bins) time, so that you can't clear all bins several times if the time since the last bin was several times X minutes.
well yes... the challenge would be to produce the most recent set of bins after all events are done.
so it's up to you how you implement the ring buffer, but some sort of binned ring buffer would be necessary (because that's the point of the challenge)
Sort the books
School is starting soon (if it hasn't already) and so it's time to get our textbooks in alphabetical order.
Examples
Input:
_
| | _
|F| | |
|o|_|P|
|o|B|P|
| |a|C|
| |r|G|
|_|_|_|
Output:
_
| |_
|F| |
_|o|P|
|B|o|P|
|a| |C|
|r| |G|
|_|_|_|
Input
The input w...
Sort the books
School is starting soon (if it hasn't already) and so it's time to get our textbooks in order.
Examples
Input:
_
| | _
|F| | |
|o|_|P|
|o|B|P|
| |a|C|
| |r|G|
|_|_|_|
Output:
_
| |_
|F| |
_|o|P|
|B|o|P|
|a| |C|
|r| |G|
|_|_|_|
Input
The input will be a set ...