By jacob (Thu Apr 08, 2004 at 05:00:42 PM EST) (all tags)
I am madly in love with all of you.


What are you waiting for? Enter the PFC and I will become madly in love with you too!

I am astounded by the thought that people have put into this challenge. Thanks so much, everybody. I've learned a lot already, and every entry has had a new spin on the problem so I'm really looking forward to what people will come up with over the weekend.

In case anyone was wondering, the Tragic puzzle is just a trivial reduction of a real problem that comes up in a popular variant of the card game Magic: The Gathering. There's a particular variant called "5-Color Magic" (aka "Prismatic") in which every deck comprises at least 250 cards and must contain at least 20 cards of each of the five Magic colors subject to the same rules described in the PFC. The variant is popular enough that when the folks at Magic made Magic Online they wanted to add a 5-Color Magic play option and ran into the problem of automatically verifying that a given deck was legal. One of the programmers wrote an article that vaguely described the problem; that sparked my imagination and I've kept the problem tucked away ever since. From what he said (it's at the end of the column), I'm sure that any of the PFC entries so far would be an improvement over what they've got in place. Y'all rule!

< 9/11 only happened because USians are pansies | BBC White season: 'Rivers of Blood' >
ATTENTION PFC ENTRANTS | 6 comments (6 topical, 0 hidden) | Trackback
WTF is PFC? (nt) by CountSpatula (3.00 / 0) #1 Thu Apr 08, 2004 at 05:18:46 PM EST

"I've never been more afraid of a diary comment EVAR." - RapidHamster
Programming Fun Contest (nt) by codemonkey uk (6.00 / 1) #2 Thu Apr 08, 2004 at 07:20:07 PM EST
We Love You Two, Oh Judge and Master! (nt) by codemonkey uk (3.00 / 0) #3 Thu Apr 08, 2004 at 07:20:55 PM EST

--- Thad ---
Almost as Smart As you.
I'll try. by Evil Cloaked User (3.00 / 0) #4 Thu Apr 08, 2004 at 11:14:38 PM EST
Funnily enough, right now, I'm working on a project which has a similar problem to solve, but with fewer constraints on it than the PFC problem does.

Working on it by ucblockhead (3.00 / 0) #5 Fri Apr 09, 2004 at 04:26:50 AM EST
I'm working on a Forth version...hopefully I'll finish by the deadline.
[ucblockhead is] useless and subhuman
my code is mathemagical by celeriac (3.00 / 0) #6 Tue Apr 13, 2004 at 11:54:34 AM EST
Hopefully I will finish it tonight...

ATTENTION PFC ENTRANTS | 6 comments (6 topical, 0 hidden) | Trackback