Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The interesting thing about sorting cards for a trick taking game is often standard algorithms don't directly apply, because you don't have a fixed end state. I choose the order of the suits based on how the cards are currently laid out, as long as I end up with red and black alternating.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: