Pirate Gold (Weekly 3)
Pirate Gold (Weekly 3)
4
46
Pirate Gold (Weekly 3)
MattDESTROYER
MattDESTROYER
App
Published on Aug 4, 2021

My solution to weekly3 July 2021. This program also allows you to change whether the pirate proposing the distribution can vote, how much gold is being distributed and how many pirates the gold is distributed between.

Similar apps
12comments
to comment
TheDrone7
TheDrone74 months ago

Scored.

AksLolCoding
AksLolCoding5 months ago

Woah! I took 10 minutes to understand the code, and it makes sense. One thing that could shorten this code is you could have a list of pirates so you wouldn't need to search them. I got inspired by you to put the three features you mentioned into my code (I do them via variables though, not user input.) Good Job!