• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:22
CEST 13:22
KST 20:22
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244ByuL, and the Limitations of Standard Play3
Community News
New 3v3 BGH Ladder (and more) on ShieldBattery!33Weekly Cups (August 17-23): Zerg dominate the week6Weekly Cups (August 10-16): SHIN doubles2GSTL Returns in 2026!45Weekly Cups (Aug 3-9): Protoss get shut out7
StarCraft 2
General
SC4ALL II: SC2 Player Announcement 6/8 - Maru How would you feel about frequent/monthly balance patches for SC2? Weekly Cups (August 17-23): Zerg dominate the week Daily SC2 Player Grid - feedback wanted Balance hotfix patch 5.0.16b (July 16)
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament 2026 GSTL Announcement IntoTheTV X SOOP SC2 League : Weekly & Monthly PIG STY FESTIVAL 8.0! (13 - 23 August) WORTEX 2026 - Hungarian SC2 Finals Budapest
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 540 Dodge This The PondCast: SC2 News & Results Mutation # 539 Thunder Dome Mutation # 538 Media Blackout
Brood War
General
BW General Discussion ASL22 General Discussion [Personal Project Share] Terran Defense v0.60 BGH Auto Balance -> http://bghmmr.eu/ New 3v3 BGH Ladder (and more) on ShieldBattery!
Tourneys
[Megathread] Daily Proleagues [ASL22] Ro24 Group F BSL LAN Party - Kraków 29-30 August - OPEN SIGNUPS Escore Tournament - Season 3
Strategy
Replay Review Process - What do you do? Game Theory for Starcraft Odyssey Mineral Stack Saturation Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread General RTS Discussion Thread Anyone here play Quakeworld back in the day? EVE Corporation
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread European Politico-economics QA Mega-thread The Letting Off Steam Thread Russo-Ukrainian War Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Violent Games and Crime Rate…
TrAiDoS
LOCKPICKING NOOB
LUCKY_NOOB
Cathedral Of CS And NY pizza a…
FuDDx
Please support my new stand…
Peanutsc
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6731 users

Pirates of Squarr Island

Blogs > meeple
Post a Reply
meeple
Profile Blog Joined April 2009
Canada10211 Posts
February 06 2010 10:12 GMT
#1
So, I promise this isn't a homework thread... or at least not in the traditional sense, since technically it was homework at one point but it was done last week and I thought it would be fun to see what some of the people over here would think. It's for a game theory class and I'll update with what the result of the class was after we get them.




To play the game you must submit a rectangle in the unit square. That is four numbers between 0 and 1. The first two numbers are the x and y coordinates respectively for the bottom left corner of your rectangle and the next two numbers are x and y coordinates respectively for the upper right corner of your rectangle.

If someone plays the exact same numbers as you then you are automatically on the same “crew.”

The mark you receive on this assignment will be proportional to the area successfully claimed by your crew divided by 1.2^(n-1) where n is the number of people in your crew.

If your crew’s rectangle overlaps the rectangle of another crew then that overlapped area is disputed. To resolve how much of the disputed area your crew receives the following rule is used. The length of the perimeter of your undisputed territory is calculated. Say it is L. Then the number of people in your crew is counted up. Say it is N. Then N/L is the density of crew folks along the perimeter of your undisputed area. There is a border between your crew’s undisputed territory and the disputed territory. Say that border has length B. Then the force which your crew puts into the disputed area is

force into disputed area = B * N/L

The other crews that are disputing this area with you do a similar calculation and which ever crew applies the greater force to the disputed area counts the disputed area as part of their total area and everyone else does not get to count it. In the event of a tie, the area is split up evenly between the tied crews. Note that this resolution method is not sensitive to the order in which the conflicts are resolved.

Three weird cases, (and hopefully no more but if you find one let me know, and include it in your analysis, if you do one, for bonus marks)

The first weird case is when a crew has no undisputed area. (The simplest way for this to happen is for one crews rectangle to be completely enclosed within another’s). In this case the enclosed crew’s original perimeter is treated as their undisputed perimeter and the calculations are then made as above.

The second weird case is when there is a disputed area, and all the other area’s that border on it are also disputed. In this case the conflict is temporarily unresolvable, so it is left along with any other unresolvable situations, until all the resolvable disputes have been resolved by the above rules. The formerly disputed areas are now treated as undisputed areas making some of the formerly unresolvable conflicts resolvable. This process is iterated through until all conflicts are resolved.

The third weird case is when two crews share some but not all of their borders. Say Crew 1 has chosen the rectangle with lower left corner (0.1,0.1) and upper right corner (0.3,0.3), and Crew 2 has chosen the rectangle with lower left corner (0.1,0.1), and upper right corner (0.2,0.2). The total perimeter of Crew 2 is the same as the perimeter applied to their disputed area which is 0.4 (four sides of length 0.1 each). Crew 1 on the other hand has a total perimeter of 1 (four sides of length 0.2 each plus two sides of “interior” perimeter each of length 0.1). Crew 1 is considered to have 0.4 units of perimeter bordering the disputed area.




One thing to note is that there will inevitably be some people who try to band the whole class together to get the "socially optimal" solution.

So the question is what kind of square would you choose (and how many people should you group together with) to get the best mark?

Butigroove
Profile Blog Joined October 2006
Seychelles2061 Posts
February 06 2010 11:19 GMT
#2
But why is all the rum gone? O.o
beach beers buds beezies b-b-b-baaanelings
Caller
Profile Blog Joined September 2007
Poland8075 Posts
February 06 2010 12:46 GMT
#3
Since the area that I pick is divided by the amount of people in my group, we can set the two to each other and optimize.

Maximize (L/4)^2 where L and B are assumed to be (but not actually) constants, and minimize 1.2^(n-1)
(i'm too lazy to do this profit maximization out)

We could probably set the two equal to each other come come up with a ratio of amount of people to B/L, so:
first we eliminate the (n-1) by multiplying both sides by 1.2, so 1.2BN/L = 1.2^N
then take the log of 1.2 so log 1.2BN/L = N
which gives us log1.2 (1.2B/L) + log1.2 (N)

N - log1.2(N) = log1.2(1.2B/L)
get lazy, use a computer or something to optimize for you with respect to the fact that B and L are probably intrinsically related.

Now consider that people may try to get others to band together. We can also assume that everybody else has figured out that a square is the best solution. Assuming that everybody decides to optimize accordingly, the size of the square and the amount of people you have should obviously be such that you can apply an equal force to each intrusioni of equal size into your territory.

blah its too earlier my mind isn't really focused and a lot of the things i wrote are wrong.

there is a weird case that was forgotten though. Suppose a group chooses a single point as their territory. It has no length and border but nonetheless could very well dispute with other people. In that case since their B is 0 and their L is 0, there is a division by zero and the world explodes.
Watch me fail at Paradox: http://www.teamliquid.net/forum/viewmessage.php?topic_id=397564
meeple
Profile Blog Joined April 2009
Canada10211 Posts
February 06 2010 13:03 GMT
#4
For the first maximization, I'll tell you that it works out that 5-6 people are maximal for the area you can gain.

The other things to consider are shape and placement of your square.

Thanks for the weird case.

Manit0u
Profile Blog Joined August 2004
Poland17833 Posts
Last Edited: 2010-02-06 14:00:28
February 06 2010 14:00 GMT
#5
Aww... And I thought that this thread will have something to do with the most awesome MMO ever created: The Puzzle Pirates!
Time is precious. Waste it wisely.
JohnBall
Profile Joined December 2008
Brazil1272 Posts
February 06 2010 15:15 GMT
#6
I think this thread has sucked out all the fun of pirates.
Where is the bootin? The cursin? The fightin? Why is there so much math?
perfecting the art of five pool forever
Please log in or register to reply.
Live Events Refresh
WardiTV Weekly
11:00
#102
IntoTheiNu 485
WardiTV387
Rex74
TKL 14
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 87
Rex 74
TKL 14
Trap 12
StarCraft: Brood War
Britney 26626
Calm 8346
Shuttle 4846
Horang2 1430
Jaedong 804
BeSt 575
firebathero 406
Mini 330
Hyun 314
Zeus 312
[ Show more ]
EffOrt 268
Killer 221
Soulkey 215
Light 182
Last 150
Stork 129
ZZZero.O 117
HiyA 105
ZerO 88
Rush 86
Pusan 85
PianO 79
Snow 58
Sea.KH 55
Mind 54
hero 52
Sharp 36
sSak 28
Aegong 27
ToSsGirL 27
Hm[arnc] 27
Noble 18
Bale 18
sorry 17
Sexy 16
Shine 15
yabsab 14
ajuk12(nOOB) 12
zelot 11
SilentControl 10
JYJ 9
scan(afreeca) 9
Dota 2
420jenkins264
XcaliburYe262
Counter-Strike
x6flipin310
zeus276
nookyyy 58
edward45
Super Smash Bros
Mew2King192
Heroes of the Storm
Khaldor193
Other Games
singsing1655
B2W.Neo271
XaKoH 213
crisheroes207
ZerO(Twitch)9
Organizations
Other Games
gamesdonequick2414
[ Show 11 non-featured ]
StarCraft 2
• Berry_CruncH404
• StrangeGG 62
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1246
Upcoming Events
Sparkling Tuna Cup
22h 39m
Afreeca Starleague
22h 39m
Monday Night Weeklies
1d 4h
GSL
1d 23h
PiGosaur Cup
2 days
Replay Cast
3 days
The PondCast
3 days
IntoTheTV X SOOP
4 days
CranKy Ducklings
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2026-08-27
PiG Sty Festival 8.0
Light Tournament 2026

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL Season 22: Qualifier 2
BSL 2026 LAN: Kraków
RSL Revival: Season 6
Big Dog Cup 2026 Div 1
BLAST Open Fall 2026
Esports World Cup 2026
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026

Upcoming

CSL 2026 AUTUMN (S22)
Escore Tournament S3: King of Kings
Acropolis #5
Acropolis #5 - TRS
Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Calamity Invitational
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.