⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkstraight.cpp

📁 A suite of casino games
💻 CPP
字号:
#include "poker.h"void CPoker::checkStraight(){//detecting straight pattern    if(computerValueCount == 62 || computerValueCount == 124    || computerValueCount == 248 || computerValueCount == 496    || computerValueCount == 992 || computerValueCount == 1984    || computerValueCount == 3968 || computerValueCount == 7972    || computerValueCount == 15872)    {        isComputerRoyalFlush = false;	isComputerStraightFlush = false;	isComputerFourOfAKind = false;	isComputerFullHouse = false;	isComputerFlush = false;	isComputerStraight = true;	isComputerThreeOfAKind = false;	isComputerTwoPair = false;	isComputerOnePair = false;	isComputerNoHand = false;    }    if(isHumanRoyalFlush == false && isHumanStraightFlush == false    && isHumanFourOfAKind == false && isHumanFullHouse == false    && isHumanFlush == false)    {	if(humanValueCount == 62 || humanValueCount == 124	|| humanValueCount == 248 || humanValueCount == 496	|| humanValueCount == 992 || humanValueCount == 1984	|| humanValueCount == 3968 || humanValueCount == 7972	|| humanValueCount == 15872)	{		isHumanRoyalFlush = false;		isHumanStraightFlush = false;		isHumanFourOfAKind = false;		isHumanFullHouse = false;		isHumanFlush = false;		isHumanStraight = true;		isHumanThreeOfAKind = false;		isHumanTwoPair = false;		isHumanOnePair = false;		isHumanNoHand = false;        }    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -