Carcassonne Central

Carc Central Community => General => Topic started by: Paul on August 01, 2014, 04:42:01 PM

Title: Random board generator script [completed]
Post by: Paul on August 01, 2014, 04:42:01 PM
Thought I upload one of my projects tonight.

This is the random board generator script.
  Enter the column and row sizes and click the blue area image and watch the randomly drawn board generated.

Each tile connects to it's adjacent tiles properly (road to road, city to city etc).

Enjoy!

http://sydby.com/carcassonne/10k/index.html (http://sydby.com/carcassonne/10k/index.html)
Feel free to use or modify the script, just mention Yellow at carcassonnecentral.com or Paul at sydby.com. Thank you.

Be warned! Large column/row size can cause a delay before the board appears.
Title: Re: Random board generator script [completed]
Post by: mas9dj on August 01, 2014, 05:47:02 PM
This is absolutely awesome. Great job!! You can even zoom in with almost no quality loss nor pixelating!!  :))
Title: Re: Random board generator script [completed]
Post by: Paul on August 01, 2014, 09:51:15 PM
Updated!

Still the same link:
http://sydby.com/carcassonne/10k/index.html (http://sydby.com/carcassonne/10k/index.html)

But now you can choose from 3 scripts:
- Base game only
- with River I
- with River I and II

 :(y)
Title: Re: Random board generator script [completed]
Post by: Paul on August 01, 2014, 09:55:53 PM
This is absolutely awesome. Great job!! You can even zoom in with almost no quality loss nor pixelating!!  :))

Thanks!  :D

Shown images are scaled down to 40x40 pixels from original sized 80x80 jpg files. Looks better when you see more on the screen. Can you believe they were even bigger at first! Lol.
  Maybe there will be an option to also set the size of the tiles in the future.

You will also notice that each tile has been edited by hand (currently 184 tiles) so each river end matches any other river end perfectly. This also goes for roads.
Title: Re: Random board generator script [completed]
Post by: SRBO on August 02, 2014, 01:56:59 AM
Yellow,

This is really really awesome, nice done!
Title: Re: Random board generator script [completed]
Post by: mas9dj on August 02, 2014, 04:11:55 AM
The river is a cool adition, just inputed 200x200 and was mindblown, I can make myself a carpet with that or something!
Title: Re: Random board generator script [completed]
Post by: SRBO on August 02, 2014, 04:21:04 AM
The river is a cool adition, just inputed 200x200 and was mindblown, I can make myself a carpet with that or something!

blanket for a bed! haha
Title: Re: Random board generator script [completed]
Post by: Paul on September 23, 2014, 01:51:31 PM
Here comes 10k script v1.5:

Sorry about the ugly white page but I just don't have time to do both fancy site and programming / editing.  C:-)

New in this version is the Fan Expansion Pack 1 where it generates a few fan made tiles from various expansions by you guys! More to come. At the moment these tiles are not complete, i.e. edited to fit road-to-road, river-to-river etc. so they connect seemlessly.

Also added is the 80x80 pixel sized version because they look much better. Enjoy!

http://sydby.com/carcassonne/10k/index.html (http://sydby.com/carcassonne/10k/index.html)

Preview:
(http://sydby.com/carcassonne/screenshots/10k/10k_script_v1_5_preview.jpg)
Title: Re: Random board generator script [completed]
Post by: kettlefish on September 23, 2014, 02:25:18 PM
It looks nice. I love our fan-made products.  ;D
Title: Re: Random board generator script [completed]
Post by: Scott on September 26, 2014, 07:26:18 PM
I see some tiles from my expansions in there. Brings back memories.
Title: Re: Random board generator script [completed]
Post by: CKorfmann on September 27, 2014, 10:42:03 AM
Pretty neat.  Good stuff!
Title: Re: Random board generator script [completed]
Post by: Paul on September 27, 2014, 11:16:12 AM
Thanks guys. I appreciate this. In a way, having fan expansions is my tribute back.  :meeple:

Working on 10k v2.0 now which will be even more mindblowing.  :-X

 :@
Title: Re: Random board generator script [completed]
Post by: Carcking on September 27, 2014, 09:57:00 PM
Nice work Yellow! I like it.   :(y)
Title: Re: Random board generator script [completed]
Post by: Scott on October 15, 2014, 06:28:27 AM
Saw this in my e-mail yesterday and thought about your script:
http://www.thinkgeek.com/product/1d41/?srp=1 (http://www.thinkgeek.com/product/1d41/?srp=1)

I probably wouldn't wear a pair of Carcassonne pants, but that doesn't mean it's not a good idea.
Title: Re: Random board generator script [completed]
Post by: Guy on October 15, 2014, 07:14:17 AM
Saw this in my e-mail yesterday and thought about your script:
http://www.thinkgeek.com/product/1d41/?srp=1 (http://www.thinkgeek.com/product/1d41/?srp=1)

I probably wouldn't wear a pair of Carcassonne pants, but that doesn't mean it's not a good idea.

They'd make a fetching pair of pajamas although it would have to have meeple on as well.
Title: Re: Random board generator script [completed]
Post by: Paul on October 15, 2014, 08:11:23 AM
Saw this in my e-mail yesterday and thought about your script:
http://www.thinkgeek.com/product/1d41/?srp=1 (http://www.thinkgeek.com/product/1d41/?srp=1)

I probably wouldn't wear a pair of Carcassonne pants, but that doesn't mean it's not a good idea.

I would totally wear this, as a middle aged man, when sleeping over.  :(y) I promised someone very close to me 3 decades ago I would never be serious.  8) In fact, she'd probably wear a pair herself!