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

Offline Paul

  • Marquis Chevalier
  • ***
  • Posts: 2430
  • Merit: 85
    • 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: http://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: 133
  • Merit: 6
  • 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: 2430
  • Merit: 85
    • 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: 2430
  • Merit: 85
    • 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: 1166
  • 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: 133
  • Merit: 6
  • 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: 1166
  • 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: 2430
  • Merit: 85
    • 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 Chevalier
  • *
  • Posts: 4562
  • Merit: 123
    • 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
  • Marquis Chevalier
  • *
  • *
  • Posts: 2516
  • Merit: 66
    • 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: 2430
  • Merit: 85
    • 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

  • Global Moderator
  • Duke Chevalier
  • *
  • *
  • Posts: 1853
  • Merit: 31
  • 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
  • Marquis Chevalier
  • *
  • *
  • Posts: 2516
  • Merit: 66
    • 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

  • Duke
  • *
  • Posts: 236
  • 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.


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
581 Views
Last post July 10, 2018, 03:07:41 AM
by Maj. Frost
xx
I finally completed my Carc collection!

Started by gabrielgeek

36 Replies
11546 Views
Last post February 21, 2017, 11:59:06 AM
by Willem
xx
Shepherd's field gets completed by another player

Started by mPony

4 Replies
1340 Views
Last post October 17, 2016, 01:59:28 AM
by kettlefish
clip
WTS [Dutch] Wheel of Fortune (partially completed)

Started by toastytoast

9 Replies
2169 Views
Last post October 05, 2016, 11:01:54 AM
by toastytoast
clip
Topics: old board to new board

Started by gantry

0 Replies
1680 Views
Last post February 08, 2013, 07:12:03 PM
by gantry