Poker Club [Quenched]
Moderator: Cartographers
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
Coleman wrote:qwert wrote:20000 continentWell you must take a big XTML team to finish code for these map.Good luck.
I really don't think we'll need to do it that way. But if we do then I think yeti_c & I can split it up if we agree on some conventions as far as how we are going to name things.
Agree - we can work this easily.
C.

Highest score : 2297
yeti_c wrote:Coleman wrote:qwert wrote:20000 continentWell you must take a big XTML team to finish code for these map.Good luck.
I really don't think we'll need to do it that way. But if we do then I think yeti_c & I can split it up if we agree on some conventions as far as how we are going to name things.
Agree - we can work this easily.
C.
Well I think we can probably do a lot of the continents without a map even being finished if we can agree on how names should be.
Ace of Clubs
Ace of Spades
Ace of Hearts
Ace of Diamonds
and so on for all of them?
My only concern at this point is with the way overrides work will the top continent have to have every other continent listed in it's overrides? That's going to be a lot... And then the one directly below it all but 1 and n-1 all the way down...
Warning: You may be reading a really old topic.
- maxdetjens
- Posts: 223
- Joined: Mon Jun 11, 2007 7:11 pm
- Location: Butte, Montana
- Contact:
- maxdetjens
- Posts: 223
- Joined: Mon Jun 11, 2007 7:11 pm
- Location: Butte, Montana
- Contact:
Coleman wrote:maxdetjens wrote:Is there a limit to the size of an XML file before the CC engine chokes on it?
That has yet to be discovered. This map might do it.
So, short answer is: We have no idea.
Before you wade in waist deep in this project there might be some wisdom in feeding the engine a dummy file of this size to see what it does.
maxdetjens wrote:Coleman wrote:maxdetjens wrote:Is there a limit to the size of an XML file before the CC engine chokes on it?
That has yet to be discovered. This map might do it.
So, short answer is: We have no idea.
Before you wade in waist deep in this project there might be some wisdom in feeding the engine a dummy file of this size to see what it does.
Probably a good idea, we'd need to coordinate with lack to do that though. And lack is a very busy person.
Warning: You may be reading a really old topic.
Coleman wrote:yeti_c wrote:Coleman wrote:qwert wrote:20000 continentWell you must take a big XTML team to finish code for these map.Good luck.
I really don't think we'll need to do it that way. But if we do then I think yeti_c & I can split it up if we agree on some conventions as far as how we are going to name things.
Agree - we can work this easily.
C.
Well I think we can probably do a lot of the continents without a map even being finished if we can agree on how names should be.
Ace of Clubs
Ace of Spades
Ace of Hearts
Ace of Diamonds
and so on for all of them?
My only concern at this point is with the way overrides work will the top continent have to have every other continent listed in it's overrides? That's going to be a lot... And then the one directly below it all but 1 and n-1 all the way down...
You might be right - however... a cunning thought of mine - not sure if I'm right... but I wonder if the overriders can chain?!
i.e.
a overrides b
b overrides c
Thus a overrides c... I don't know whether this is the case though... (Would be useful in this map!)
I assume that it's more the case that You have A which overrides B thus the engine doesn't bother reading B therfore you also have C...
It all depends on how the engine is written... and also - if it can cope with all this shit... like you say - the XML engine might choke big time!!
C.

Highest score : 2297
- maxdetjens
- Posts: 223
- Joined: Mon Jun 11, 2007 7:11 pm
- Location: Butte, Montana
- Contact:
You could try the XML Tester first and make sure the parser can even parse it before timing out.
EDIT:
a simple PM to lack simply to illicit his thoughts might shed a lot of light on the topic.
The overrules probably doesn't chain. in fact logically the overrules should "overrule" a prior overrule leaving it "un-overruled".
I hope your idea works because i have an idea that requires 50!*50! continents. If it doesn't then that idea will need to wait until variables and simple arithmetic are added. (I'm not holding my breath)
One alternative possibility is to allow all hands (not just the hand of the best five cards) and then make a pair worth 1 two pair worth 2, three pair worth 3, and a full house worth 4. all of that can be handled with a simple continent for each pair valued at 1.
EDIT:
a simple PM to lack simply to illicit his thoughts might shed a lot of light on the topic.
The overrules probably doesn't chain. in fact logically the overrules should "overrule" a prior overrule leaving it "un-overruled".
I hope your idea works because i have an idea that requires 50!*50! continents. If it doesn't then that idea will need to wait until variables and simple arithmetic are added. (I'm not holding my breath)
One alternative possibility is to allow all hands (not just the hand of the best five cards) and then make a pair worth 1 two pair worth 2, three pair worth 3, and a full house worth 4. all of that can be handled with a simple continent for each pair valued at 1.
Last edited by maxdetjens on Fri Jul 13, 2007 2:41 pm, edited 2 times in total.
- maxdetjens
- Posts: 223
- Joined: Mon Jun 11, 2007 7:11 pm
- Location: Butte, Montana
- Contact:
Altkanese wrote:This makes a total of 21023 continents (78 pair, 2808 two pair, 52 three of a kind, 9180 straight, 5112 flush, 3744 full house, 13 four of a kind, 32 straight flush, 4 royal flush)
This is the first initial estimate... I need to check this is correct...
But looking at the numbers - it looks fairly accurate...
C.

Highest score : 2297
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
It's either 1 bonus or all bonuses...
If we leave to all - then the game will barely last a round... as so many bonuses will be available straight off...
I hadn't thought of the bonus structure yet...
But the top few hands will be good I reckon... Probably in the region of 15 or 20.
C.
If we leave to all - then the game will barely last a round... as so many bonuses will be available straight off...
I hadn't thought of the bonus structure yet...
But the top few hands will be good I reckon... Probably in the region of 15 or 20.
C.

Highest score : 2297
-
Contron13542
- Posts: 37
- Joined: Sun Apr 15, 2007 11:52 am
yeti_c wrote:Altkanese wrote:This makes a total of 21023 continents (78 pair, 2808 two pair, 52 three of a kind, 9180 straight, 5112 flush, 3744 full house, 13 four of a kind, 32 straight flush, 4 royal flush)
bear with me for a second, and idk if this forum is even ope nanymore, but say a person had a set (three of a kind) of 5's:
how would it be coded so a person didn;'t get 2 pairs and a set?
Coleman wrote:Overrides. We have all the three pairs override the two of a kind things.
This map will be made easier (or some might even say possible) to code after the xml update which should be sometime this month.
You make a good point here Coleman...
I'll have to look into whether or not the poker map will be possible again...
Hmmmm
C.

Highest score : 2297
Actually since this interests me so much.
A bit of psuedo code for you.
collection - Pair of Kings
[no bonus]
King of Spades
King of Hearts
King of Diamonds
King of Clubs
need 2
A Pair
[bonus here...]
Pair of Aces
Pair of Kings
Pair of Queens
...
Pair of Threes
Pair of Twos
need 1
We need to do that or people could get lots of single pair bonuses.
collection - Three of a Kind (many of these, all with same name for easier overrides)
King of Spades
King of Hearts
King of Diamonds
King of Clubs
need 3
collection - Two Pair
Pair of Aces
Pair of Kings
Pair of Queens
...
Pair of Threes
Pair of Twos
need 2
overrides all pair of X
This is infinitely easier then what we would of needed to do before. I think yeti_c can easily see how this would work up through the various hands.
A bit of psuedo code for you.
collection - Pair of Kings
[no bonus]
King of Spades
King of Hearts
King of Diamonds
King of Clubs
need 2
A Pair
[bonus here...]
Pair of Aces
Pair of Kings
Pair of Queens
...
Pair of Threes
Pair of Twos
need 1
We need to do that or people could get lots of single pair bonuses.
collection - Three of a Kind (many of these, all with same name for easier overrides)
King of Spades
King of Hearts
King of Diamonds
King of Clubs
need 3
collection - Two Pair
Pair of Aces
Pair of Kings
Pair of Queens
...
Pair of Threes
Pair of Twos
need 2
overrides all pair of X
This is infinitely easier then what we would of needed to do before. I think yeti_c can easily see how this would work up through the various hands.
Warning: You may be reading a really old topic.
Most definitely...
The beauty is that all the "pairs" you define once... then you have 2 continents with all of them listed...
<required>1</required> <-- for 1 pair.
<required>2</required> <-- for 2 pair.
<overrides>1 pair</overrides>
Coleman - this will work... Now we need someone to do the Graphics...
C.
The beauty is that all the "pairs" you define once... then you have 2 continents with all of them listed...
<required>1</required> <-- for 1 pair.
<required>2</required> <-- for 2 pair.
<overrides>1 pair</overrides>
Coleman - this will work... Now we need someone to do the Graphics...
C.

Highest score : 2297
In fact - you can do this too...
<pair of king>
<components>
<King of S>
<King of D>
<King of H>
<King of C>
</components>
<required>2
So you only need 13 continents for the base pairs.
2 continents for 1 or 2
So you only need 13 continents for the base triples.
1 continent for 3 of a kind
So you only need 13 continents for the base quads.
1 continent for 4 of a kind
Full house will be a 13 more continents...
You need to define a Full house continent for each triple (so as to not just get full house when you have 3 of a kind)
Flushes are easy... (but will generate a few continents) (9 per suit = 36)
Straights aren't too bad (again another 13 base continents)
and then
a continent each for
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8
5 6 7 8 9
6 7 8 9 10
7 8 9 10 J
8 9 10 J Q
9 10 J Q K
10 J Q K A
(another 9 continents)
So total continents = 114 continents...
That is totally doable...
C.
<pair of king>
<components>
<King of S>
<King of D>
<King of H>
<King of C>
</components>
<required>2
So you only need 13 continents for the base pairs.
2 continents for 1 or 2
So you only need 13 continents for the base triples.
1 continent for 3 of a kind
So you only need 13 continents for the base quads.
1 continent for 4 of a kind
Full house will be a 13 more continents...
You need to define a Full house continent for each triple (so as to not just get full house when you have 3 of a kind)
Flushes are easy... (but will generate a few continents) (9 per suit = 36)
Straights aren't too bad (again another 13 base continents)
and then
a continent each for
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8
5 6 7 8 9
6 7 8 9 10
7 8 9 10 J
8 9 10 J Q
9 10 J Q K
10 J Q K A
(another 9 continents)
So total continents = 114 continents...
That is totally doable...
C.

Highest score : 2297
Is it possible to make it so you can only hold 5 cards at any one time? I would think that would at least have to be the starting criteria, where you get randomly dealt 5 cards (and the rest are neutral).
In order to make things such as flushes and straights harder to get, perhaps a system of connections along these lines:
Red cards can only attack black cards and vice versa. (Or perhaps, attack all but your suit? This makes the "spoiling" of hands easier, and more part of the strategy. It's not just about making the best hand, but convincing your opponent yours is better than theirs?)
Even cards can only attack odd cards and vice versa (excluding J/Q/K/A?)
Face cards can be attacked by any numbered card of the opposite colour
Face cards can attack each other within their rank, J-J-J-J, (but since anyone from a number can spoil, 4 of a kind would be hard to keep, yes?)
Each face card J/Q/K (there's 12 of them) can attack a single number, ie
J Hearts -> Aces
J Spades -> 2's
J Diamonds -> 3's
J Clubs -> 4's
etc
(So face cards won't be able to attack king's, but any number of the opposite colour can).
What do you think?
In order to make things such as flushes and straights harder to get, perhaps a system of connections along these lines:
Red cards can only attack black cards and vice versa. (Or perhaps, attack all but your suit? This makes the "spoiling" of hands easier, and more part of the strategy. It's not just about making the best hand, but convincing your opponent yours is better than theirs?)
Even cards can only attack odd cards and vice versa (excluding J/Q/K/A?)
Face cards can be attacked by any numbered card of the opposite colour
Face cards can attack each other within their rank, J-J-J-J, (but since anyone from a number can spoil, 4 of a kind would be hard to keep, yes?)
Each face card J/Q/K (there's 12 of them) can attack a single number, ie
J Hearts -> Aces
J Spades -> 2's
J Diamonds -> 3's
J Clubs -> 4's
etc
(So face cards won't be able to attack king's, but any number of the opposite colour can).
What do you think?
In terms of bonuses -> perhaps no territory bonuses (or maybe base 3 only or something), because extra cards don't give extra bonuses. You bonuses are solely based on your hand strength.
Also, I would think straights would be relatively horrible, given they are suit independent. So 2C-3D-4H-5S-6C, or change all the letters around for a different straight, the combinations are horrible...
Unless you can do "one of the 2's" "one of the 3's" "one of the 4's", come to think of it... this can be done now can't it?
Also, I would think straights would be relatively horrible, given they are suit independent. So 2C-3D-4H-5S-6C, or change all the letters around for a different straight, the combinations are horrible...
Unless you can do "one of the 2's" "one of the 3's" "one of the 4's", come to think of it... this can be done now can't it?

