News for hackers. Stuff that matters.
Re:Slack Poker Bot by ajkjk on Tuesday September 01, 2015 @05:36PM (#10155927)
Yes, you're correct. It should swap with cards that are strictly at later positions in the deck:

Deck.getRandomInt(index+1, numberOfCards)

instead of

Deck.getRandomInt(0, numberOfCards)

There are no comments on this comment yet.