Author Topic: Random board generator script [completed]  (Read 12471 times)

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Random board generator script [completed]
« 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
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.

Linkback: https://www.carcassonnecentral.com/community/index.php?topic=927.0
World record holder for a single game of Carcassonne using 10 007 tiles!

Offline mas9dj

  • Nobleman
  • ******
  • Posts: 136
  • Merit: 7
  • I haven't updated my profile yet!
    • View Profile
Re: Random board generator script [completed]
« Reply #1 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!!  :))
Gotta catch 'em all

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Re: Random board generator script [completed]
« Reply #2 on: August 01, 2014, 09:51:15 PM »
Updated!

Still the same link: 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)

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Re: Random board generator script [completed]
« Reply #3 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.

Offline SRBO

  • Chatelain
  • ******
  • Posts: 1169
  • Merit: 40
  • The Robber Dragon King
    • View Profile
Re: Random board generator script [completed]
« Reply #4 on: August 02, 2014, 01:56:59 AM »
Yellow,

This is really really awesome, nice done!

Offline mas9dj

  • Nobleman
  • ******
  • Posts: 136
  • Merit: 7
  • I haven't updated my profile yet!
    • View Profile
Re: Random board generator script [completed]
« Reply #5 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!

Offline SRBO

  • Chatelain
  • ******
  • Posts: 1169
  • Merit: 40
  • The Robber Dragon King
    • View Profile
Re: Random board generator script [completed]
« Reply #6 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

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Re: Random board generator script [completed]
« Reply #7 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

Preview:
« Last Edit: September 23, 2014, 01:54:58 PM by Yellow »

Offline kettlefish

  • Global Moderator
  • Chatelain Officier
  • *
  • Posts: 4682
  • Merit: 127
    • View Profile
Re: Random board generator script [completed]
« Reply #8 on: September 23, 2014, 02:25:18 PM »
It looks nice. I love our fan-made products.  ;D

Offline Scott

  • Administrator
  • Viscount Chevalier
  • *
  • *
  • Posts: 3185
  • Merit: 114
    • View Profile
    • CarcassonneCentral
Re: Random board generator script [completed]
« Reply #9 on: September 26, 2014, 07:26:18 PM »
I see some tiles from my expansions in there. Brings back memories.

Offline CKorfmann

  • Authors
  • Count Chevalier
  • *
  • Posts: 2258
  • Merit: 39
  • Pigs are meeple too.
    • View Profile
Re: Random board generator script [completed]
« Reply #10 on: September 27, 2014, 10:42:03 AM »
Pretty neat.  Good stuff!
Flee the fleas.

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2491
  • Merit: 86
    • View Profile
    • sydby.com
Re: Random board generator script [completed]
« Reply #11 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

 :@

Offline Carcking

  • Duke Chevalier
  • *
  • *
  • Posts: 1853
  • Merit: 33
  • I call Red!
    • View Profile
Re: Random board generator script [completed]
« Reply #12 on: September 27, 2014, 09:57:00 PM »
Nice work Yellow! I like it.   :(y)
I just drew the perfect tile for my MonKnighThieFarmer!

Offline Scott

  • Administrator
  • Viscount Chevalier
  • *
  • *
  • Posts: 3185
  • Merit: 114
    • View Profile
    • CarcassonneCentral
Re: Random board generator script [completed]
« Reply #13 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

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

Offline Guy

  • Count
  • **
  • Posts: 251
  • Merit: 11
    • View Profile
Re: Random board generator script [completed]
« Reply #14 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

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.
I play orange


Share via delicious Share via digg Share via facebook Share via furl Share via linkedin Share via myspace Share via reddit Share via stumble Share via technorati Share via twitter

  Subject / Started by Replies / Views Last post
xx
Online games not really random?

Started by Pleebus

3 Replies
3392 Views
Last post July 10, 2018, 03:07:41 AM
by Maj. Frost
xx
Few random pictures and thoughts

Started by Snearone

17 Replies
2056 Views
Last post October 31, 2022, 11:56:37 AM
by Scott
question
random 'merit' questions

Started by cicerunner

1 Replies
1132 Views
Last post February 04, 2020, 02:06:47 PM
by Meepledrone
xx
Random Tiles

Started by PapaGeek

2 Replies
708 Views
Last post December 05, 2021, 01:15:34 PM
by Challa007
xx
Saint Nicholas Scoring Board why not Santa Claus scoring board?

Started by Windekind

7 Replies
3330 Views
Last post December 06, 2019, 12:31:54 AM
by Murphy013