"Jesús Gabriel y Galán" <jgabrielygalan / gmail.com> wrote in post 1024250: > On Thu, Sep 29, 2011 at 8:40 PM, Rob V. <robtvogel / gmail.com> wrote: >> where: >> >> Any thoughts? > Can you show a complete example in which we can see the error? > Things to check: > - Are you sure you are putting the keys of the hash in the arrays? > - What does puts player1.first outputs: "Ah" or 1? > > Jesus. > > Jesus. I gave you an example where it doesn't work. >"puts deck[player1.first] >does not return the value of the card. I've also tried created place >holder variables without avail:" and I have above that: >" puts player1.first >it will give the appropriate first card in the hand but:" card in hand meaning the "Ah". More specifically print player1.first outputs ["ah"] and puts player1.first outputs Ah