Coder Social home page Coder Social logo

Comments (3)

db0 avatar db0 commented on July 18, 2024

Thanks

On Sun, Aug 31, 2014 at 11:21 PM, Khudzlin [email protected] wrote:

It is instead counted as 2 pairs.

Shootout hand is 3: Two Pairs (Ace of Spades, 8 Spades, Jack of Diamonds,
8 Clubs, Ace of Clubs).


Reply to this email directly or view it on GitHub
#3.

Personal haven @ http://dbzer0.com

from doomtown-reloaded-octgn.

Khudzlin avatar Khudzlin commented on July 18, 2024

It works if you use the full suit names in checkDMH:

if rank[i] == '8' and suit[i] == 'Spades': DMH[0] = 1
if rank[i] == '8' and suit[i] == 'Clubs': DMH[1] = 1
if rank[i] == 'A' and suit[i] == 'Spades': DMH[2] = 1
if rank[i] == 'A' and suit[i] == 'Clubs': DMH[3] = 1
if rank[i] == 'J' and suit[i] == 'Diamonds': DMH[4] = 1

from doomtown-reloaded-octgn.

db0 avatar db0 commented on July 18, 2024

Cool, I'll fix the check in the future, but if you've already checked the
code feel free to send in a pull request

On Sun, Sep 7, 2014 at 11:46 AM, Khudzlin [email protected] wrote:

It works if you use the full suit names in checkDMH:

if rank[i] == '8' and suit[i] == 'Spades': DMH[0] = 1
if rank[i] == '8' and suit[i] == 'Clubs': DMH[1] = 1
if rank[i] == 'A' and suit[i] == 'Spades': DMH[2] = 1
if rank[i] == 'A' and suit[i] == 'Clubs': DMH[3] = 1
if rank[i] == 'J' and suit[i] == 'Diamonds': DMH[4] = 1


Reply to this email directly or view it on GitHub
#3 (comment)
.

Personal haven @ http://dbzer0.com

from doomtown-reloaded-octgn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.