forum.webdiplomacy.net

webDip dev coordination forum / public access todo list
It is currently Thu Dec 14, 2017 4:49 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Jul 11, 2009 6:20 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
* Simple way to handle the Country distribution at start of game.

Quote:
By creating a list of the less played countries per player,
and sorting with that after.



Countries (A, E, F, G, I, R, T)

Player # (1, 2, 3, 4, 5, 6, 7)


ex.:

-> does this also count currently playing games? :)

Times_Country_played:= Then DO_distribution_Of_Least_played(P#)

with:
P1 = (3, 4, 2, 1, 1, 6, 3) ==> (F, G, I)
P2 = (2, 2, 2, 3, 2, 2, 2) ==> (E, F, I, R)
P3 = (3, 2, 2, 3, 2, 3, 4) ==> (F, I, E)
P4 = (10, 9, 7, 8, 10, 9) .==> (G, T, E, F)
P5 = (11, 5, 13, 12, 9, 10)==> (R, A, E)
P6 = (0, 1, 0, 1, 0, 1, 0) ==> (T, A, F, I)
P7 = (1, 1, 1, 1, 1, 1, 1) ==> (T, A, E, F)


DO_distribution_Of_Least_played(P#) results in a list of (3or4 countries)

and it increments check counter for list at each Player

... it generates 3 or 4 'smaller numbers' from list.

Then,

Swap in a Table that distributes per country. (or list)

T:
(A, P5, P6, P7)
(E, P2, P3, P4, P5, P7)
(F, P1, P3, P4, P6, P7)
(G, P1, P4)
(I, P1, P2, P3, P6)
(R, P2, P6)
(T, P4, P6, P7)

then,

Filter_SORT:

'Countries (A, E, F, G, I, R, T)'
=>Result: (P5, P3, P4, P1, P2, P6, P7)



*** [u]There you go. Makes sense?[/u] ***


Top
 Profile  
 
PostPosted: Sat Jul 11, 2009 6:41 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
oh, then

Check to see if duplicates in list_of_the_last_game_joined(P#)

and rearrange result accordingly (shuffle places per priority)


Top
 Profile  
 
PostPosted: Sat Jul 11, 2009 7:48 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
Have you read anything on this forum or are you just here showing off that you have a few good idea's?
There was a full conversation about this in much more depth with far more logical methods discussed. I believe the end was to a weighting that diminishes over time, such that players will always be lead towards nations they haven't had recently but without the system being deterministic


Top
 Profile  
 
PostPosted: Sat Jul 11, 2009 9:00 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
figlesquidge wrote:
Have you read anything on this forum or are you just here showing off that you have a few good idea's?

Completely guilty of flinging off a lot of material w/o preamble.

Was happily spurred by KestasJK:
http://forum.phpdiplomacy.net/viewtopic.php?f=6&t=306

I did see a post somewhere, in the multifarious sub-groups of topics, upon the choosing of countries, and had a version.

I'd make a distinction between the multiple approaches to logical methodology. Now I'll read (&re-read?), and ponder.


I forgot the Scalar & the 'over time' round-off.
Quote:
I believe the end was to a weighting that diminishes over time

( 'over time' round-off once a players has finished 9 games his number := 0 )
(Use of a 1 digit check variable)
(no rounding off, calc.of.%, ...etc.)
(Kinda quick too!)

AND I forgot to add the "Random" part.
but the parsing like my proposal gives a shuffle effect,
so players do get a different country after all.

Could be applied to other concepts. ;-)

Quote:
... without the system being deterministic


point taken-


Top
 Profile  
 
PostPosted: Mon Jul 13, 2009 11:06 am 
Offline

Joined: Tue Aug 26, 2008 8:46 pm
Posts: 249
Please check the completed sub-forum before posting a suggestion. It was the very first post.


Top
 Profile  
 
PostPosted: Mon Jul 13, 2009 1:11 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
Quote:
It was the very first post. !!!


That's SO Cool !

Thank you.

Do you believe someone new to a Forum will read EVERYTHING before entering a single 1st. tentative post ? ... :)


Top
 Profile  
 
PostPosted: Mon Jul 13, 2009 3:49 pm 
Offline

Joined: Tue Aug 26, 2008 8:46 pm
Posts: 249
Apparently with you, you don't. But you could at least use the "Search" function that your raving on about...


Top
 Profile  
 
PostPosted: Tue Jul 14, 2009 8:15 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
Comprendo, seNor.
El 'Search' is not in Player's Forum (in FAQ/Help).


Top
 Profile  
 
PostPosted: Wed Jul 15, 2009 8:43 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
*What are you on about?*

There is a search on this forum which is what Ghost was telling you to use as you would then have found this thread already existed.


Top
 Profile  
 
PostPosted: Wed Jul 15, 2009 11:51 pm 
Offline

Joined: Fri Jul 10, 2009 1:14 pm
Posts: 73
Oh, sorry, figgle.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group