[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vt/ - Virtual Youtubers

Search:


View post   

>> No.2546001 [View]
File: 204 KB, 959x1257, resolver.png [View same] [iqdb] [saucenao] [google]
2546001

>>2545684
Blackjack logic would probably be a lot simpler for determining who wins for sure. I ended up with an algorithm that hashes the value of each player's hand into a 64-bit integer to compare them numerically and boy does it seem a lot simpler on paper than it does in the actual source code. I didn't even know python had bitwise operators before doing it this way.

Navigation
View posts[+24][+48][+96]