Commit Graph

35 Commits

Author SHA1 Message Date
Worros
086e2f9814 Card: Remove unused function 2011-04-02 12:27:29 +08:00
tribumarchal
920aac6f73 fix minor bug display GuiRingPlayerStats.py
Signed-off-by: tribumarchal
2011-03-14 14:06:42 +08:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
atinm
644b2d7849 replaced /usr/bin/python with /usr/bin/env python 2011-02-27 21:17:07 +08:00
Worros
caa2104fa9 Fix for FTP Razz crasher
When a player is listed as playing the hand and sits out between the listing and ante-up join_holecards returned only 2 cards causing Card.encodeRazzStartHand() to crash.

Make sure that join_holecards must return at least 3 cards for stud, and add an entry for this case in the lookup table
2010-12-11 01:26:56 +08:00
Worros
121e12023f Ring Player Stats: Support Razz start card list 2010-09-24 13:46:21 +08:00
Worros
8a2b051916 Card: make decodeRazzStartCard return a string 2010-09-23 17:30:59 +08:00
Worros
47ca83db84 Card: Lookup table for Razz start hand combos
Take Razz hand list table provided by gammoner of 2+2 and start the lookup table.

'(32)A':1 ... (KK)K:1193

'(00)A':-13 ... '(00)K':-1  Where 0 is unknown.
2010-09-23 16:42:54 +08:00
Worros
eefad4a486 Card: Add complete Razz start card list.
Figure out how to use it later.

Maybe use tuple as a key to a dict?

card = { ('A', '2', '3') : 1 } ? - Might work
2010-09-23 11:36:13 +08:00
Worros
591543d468 L10n updates: C->F 2010-09-23 00:10:32 +08:00
Worros
0ce0c13dd0 Bug fixes: Make fpdb run after my previous patches damage 2010-09-22 23:18:36 +08:00
Worros
0049cfbd3c Card.py: Adding random function and comment 2010-09-22 16:35:26 +08:00
steffen123
b08cb18c0e remove debug print; add import to Config; gettextify tables 2010-08-15 21:09:18 +02:00
steffen123
b4317bba2a auto-detect language 2010-08-15 20:50:49 +02:00
steffen123
6ee12769ae add gettext import to card 2010-08-15 07:32:23 +02:00
steffen123
e60cd2a75f gettextify card, add note about it to alchemy* 2010-08-15 07:31:32 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
Eratosthenes
6d9cdd9587 Fix problem where Qc is not encoded correctly. 2010-01-30 14:54:46 -05:00
Worros
4187561e66 Whitespace fixes to Card.py 2010-01-21 14:12:17 +08:00
Gerko de Roo
ef4f5289bb Solved some merge issues --> Cards.py
Issues Pokerstars when playing heads-up on ring games,
   being both on button and small blind now supported
   !!if not solved the winnings of the (button, small blind) is stored as rake!!
Post both small and big blind when re-entering ring games solved
2010-01-21 14:07:46 +08:00
sqlcoder
41877097c9 fix twostartcards to handle 22 and unknowns properly 2010-01-21 13:49:45 +08:00
Worros
a3be99bcf6 [NEWIMPORT] HandsPlayers.startCards
Dodgy function just to get things kinda working again.
2009-12-22 17:20:07 +08:00
sqlcoder
d5a1523e59 fix startCard calcs 2009-09-27 11:40:39 +01:00
eblade
047b5d94d9 move constant dicts/lists from functions to global vars, so they aren't loaded every time the function is run 2009-07-31 00:40:31 -04:00
Ray
e36b300271 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-07-29 10:35:01 -04:00
Ray
835c4ad0cf Added encodeCard() to Card.py. 2009-07-29 10:33:42 -04:00
eblade
31f8db1788 Long-handed out the logic in twoStartCards, the shortcuts were killing it somewhere, added short-circuit into it for pairs, fixed order cards are returned in for offsuit cards in twoStartCardString.
*Note: I think someone should fix the "Hand Breakdown" chart to not include "Seats" in it's criteria, if "Show Number of Players" is not checked. ?
2009-07-26 18:00:12 -04:00
Ray
0c36ab0bda Add simple __main__ to Card.py, so I can remember how it works. 2009-07-25 11:58:43 -04:00
Matt Turnbull
44aed2c95f populate hands.boardcards 2009-06-19 07:04:57 +01:00
Worros
539fdcb070 Merge branch 'master' of git://git.assembla.com/fpdb-sql
Conflicts:

	pyfpdb/Card.py
2009-05-22 09:23:10 +08:00
sqlcoder
fcc6cf5d4f updated comment 2009-05-21 18:02:11 +01:00
Worros
dc8affb8c3 Quick comment add before checking out 0.11 2009-05-21 23:02:50 +08:00
Worros
4819fc28e5 Fix omaha hudCache update 2009-05-21 22:14:49 +08:00
sqlcoder
cf8b6c7e92 several db changes and a fancy playerstats window, now to tidy the code up a bit .... 2009-05-21 04:26:00 +01:00