# Re: Euchre Hands (#55)

**URL:** <https://www.ruby-forum.com/t/re-euchre-hands-55/49747>\
**Category:** Ruby\
**Created:** [November 23, 2005, 3:50pm UTC](https://www.ruby-forum.com/t/re-euchre-hands-55/49747 "2005-11-23T15:50:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![warrenbrown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Post date:** [November 23, 2005, 3:50pm UTC](https://www.ruby-forum.com/t/re-euchre-hands-55/49747/1 "2005-11-23T15:50:08Z")

</div>

James,

> initial suit order for each player and holds that  
> until the hand is played out (even if black/red  
> suits eventually touch). Note that you will have to  
> order the hand twice though, once after the deal and  
> once after Trump is chosen.

```
Well, the sort before the trump is chosen is outside the scope of

```

this quiz (and trivial to implement), so we’re only talking about the  
sort after trump has been chosen. However you are right, the sort  
routine would only be called once per hand, not once per card. There  
are several other card games where sort is called once per card, and I  
didn’t stop to think that Euchre wasn’t one of them.

```
That being said, in a card game where suits are important, I would

```

still prefer the suits in my hand to remain in a predictable order  
rather than get shuffled around (no pun intended) depending on what  
cards were in my hand.

> Of course, this is all just _MY_ opinion of right.  
> We’ve already heard of several others. This quiz  
> just isn’t about those… 😉

```
And likewise this is just *my* opinion of right. But I would argue

```

that this quiz _is_ about other opinions, since the original quiz  
stated:

> The three non-Trump suits are equal, but it is good  
> ? interface to sort the by suit alternating red, black,  
> red, and black, I think.

```
If the "I think" had been left off, this would have simply been a

```

requirement of the quiz. But since it is there, I would argue that this  
topic is open for discussion. I just gave a solution that showed a  
differing viewpoint. I’m sorry if I stepped on any toes.

```
- Warren B.

```

P.S. Tiger??? :o)

---

<div class="post-metadata">

**Author:** ![warrenbrown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Post date:** [November 23, 2005, 4:58pm UTC](https://www.ruby-forum.com/t/re-euchre-hands-55/49747/2 "2005-11-23T16:58:42Z")

</div>

On Nov 23, 2005, at 8:47 AM, Warren B. wrote:

> I’m sorry if I stepped on any toes.

No offense taken. I just wanted it to be clear I’m against shifting  
hands too.

> P.S. Tiger??? :o)

I’m just full of wacky expressions. 😉

James Edward G. II
