Carcassonne Central

Carc Central Community => General => Topic started by: Paul on May 21, 2014, 03:26:00 PM

Title: Carcassonne Diary started May 21, 2014
Post by: Paul on May 21, 2014, 03:26:00 PM
Yesterday I started my online Carcassonne Diary!

Log file: http://www.sydby.com/carcassonne/diary/index.htm (http://www.sydby.com/carcassonne/diary/index.htm)
EDIT: Removed a link to an obsolete page

Each day, I will randomly draw a tile and add it to the online board which is held on my server. Thought it would be interesting to see it developing slowly. This is just a basic thing at the moment but I hope to add more fun stuff to make it more lively. Updates will be posted on this thread.

1. The draw pile is randomly pre-generated via php script using the real tile set from (at the moment only) the base game.
2. When the pile is emptied, a new tile heap will be randomly generated adding to the already existing board.
3. You can point on any tile on the board for a popup description to find out for example which day this tile was placed.

Future plans:
1. Adding expansions. The idea here is, whenever a draw pile become empty a new pile will be randomly generated with the expansion(s). For example: If I add Traders and Builders, it will be in the new draw pile when the old pile is emptied.

Feel free to comment your thoughts and ideas!

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: danisthirty on May 22, 2014, 01:06:13 AM
What a cool idea! Looking forward to seeing how it develops...
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 22, 2014, 03:33:05 PM
Update 1

1. Added a third tile.
2. Added a zoom script. Point at any tile and use the mouse wheel to zoom out and in.

The script itself is just a hasty made but I am already working on improving it more professionally.

Any thoughts you guys have so far? I am eager to build a huge board already but I will keep it at one each day for now.

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Fritz_Spinne on May 22, 2014, 03:42:55 PM
Do you look at the upcoming tiles to place the tiles optimally?
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 22, 2014, 09:46:13 PM
Do you look at the upcoming tiles to place the tiles optimally?

The php script randomly creates a tile list order and displays them all on one page, so kind of a yes, though I don't look at all the tiles on the screen. Just the ones placed earlier and the upcoming one the day.
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 28, 2014, 04:24:04 PM
Update 2:

Did a huge rewrite for the diary site!

Amongst a few things, I've set the next random generated draw pile with an expansion or two (available in 4 days).
  Unfortunately, the layout of the board will look wrong on certain browsers, depending on screen resolution. I tried everything, even those that should work but nothing. I will have to re-work this again.  :o

Here is the new main page: http://www.sydby.com/carcassonne/diary/index.htm (http://www.sydby.com/carcassonne/diary/index.htm)
And here is the board after 9 days (six players):
http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm (http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm)

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: MrNumbers on May 28, 2014, 11:12:53 PM
Yes, zooming the page ruins all the layout! (on 100% - OK)
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Fritz_Spinne on May 28, 2014, 11:46:25 PM
Quote
And here is the board after 9 days (six players): http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm (http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm)

I see some errors in placing the tiles - city edges at fields, also roads and fields together. I think the errors begin at day 6, some tiles change.
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 29, 2014, 12:29:53 AM
Quote
And here is the board after 9 days (six players): http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm (http://www.sydby.com/carcassonne/diary/games/board_game1_day9.htm)

I see some errors in placing the tiles - city edges at fields, also roads and fields together. I think the errors begin at day 6, some tiles change.

Yes. Most likely due to different screen resolution. I have 1366x768 pixels laptop. Anything smaller or bigger will cause tiles to be shifted. Sadly only noticed this at the very end, after hours of prepping the scripts.

Already working on a new much more reliable script using tables and then things should go smoothly.  :(y)
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 29, 2014, 03:25:28 PM
Update 3:

Third time's the charm. I hope! New script and much cleaner outcome webcode that should support all browsers.

Check out day 10:
http://www.sydby.com/carcassonne/diary/games/board_game1_day10.htm (http://www.sydby.com/carcassonne/diary/games/board_game1_day10.htm)

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Fritz_Spinne on May 29, 2014, 10:02:42 PM
I think now it runs in the right way.

Do you think this would be an alternative for some players to play it on the web? 6 players running through the time zones everyday and all could watch them.
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 30, 2014, 12:36:37 AM
I think now it runs in the right way.

Do you think this would be an alternative for some players to play it on the web? 6 players running through the time zones everyday and all could watch them.

That is an interesting idea. At the moment it's all script and manual input and there will be a lot of fun surprises coming up.  :-X

Would it be of interest if I set up an E-mail so those that play can mail in their coordinates and then I update the board accordingly? Sort of an ongoing game taking days maybe week to finish when players gets free time to do their move.
  I can monitor the E-mail and updating the board usually only takes a few seconds if I am near my laptop.

Rundown of the idea:
1. Script randomly generates a draw pile.
2. Choosing player turn order.
3. I mail each player their tile.
4. Players look at the board (which will have coordinates) and mail in their move.

Keep posting ideas and possible solutions. I appreciate this.  :(y)

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: danisthirty on May 30, 2014, 02:09:39 AM
@Yellow - you are very talented!

I love the idea of being able to play Carcassonne by email. As well as passing back the co-ordinates for tile placement though, you'd also have to allow for tile rotation and the ability to place meeples on specific (unclaimed) features. I'm sure you've already thought of this but it hasn't been mentioned thus far so I thought I'd bring it up.

How about some sort of messages section so onlookers can comment as each tile goes down: "Oooh! Wouldn't have placed that one there..."

Keep up the great work!
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 30, 2014, 03:46:13 AM
 :D

I wouldn't say talented, rather it's a hobby!

And indeed you are correct. I've everything set up for the tile rotation and such.
  1 is North (which will always be the rotation mailed to the players)
  2 rotates 90 degree CW (CounterWise / right)
  3 is 180 and 4 is of course 270 degree

As for the placement of a follower, I still have not come up with a good way to handle this. Usually not a problem until tiles such as two separate city segments comes into play.
  Any thoughts on this?

An interactive chat or message board is a great idea. I'll have a look at that as well! We all love spectators.  8)

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: danisthirty on May 30, 2014, 04:09:13 AM
If you're good at what you enjoy then you'll go far!

Getting your meeple onto the right feature could be tricky, since most tiles probably have at least three or more features that could be claimed (including all distinct farms). The widest choice of features will be on the rrrr tile which has a maximum of 8 possible places to deploy a meeple as there are 4 roads and 4 farms. These won't all necessary always be available but there's always the chance that they could be in any particular game.

This brings you on to the next point though, which is how you will check whether certain features are available to be claimed. It might not to be too tricky for cities/ roads and you won't have to worry about cloisters at all, but I can well imagine that tracking farms could get complicated.

Alternatively you could opt to keep it simple and not restrict meeple placement at all in favour of relying on people knowing the game well enough not to do anything that they wouldn't be allowed to. Could save a lot of time and effort, but I guess that would be up to you in deciding what direction you want your project to be heading in...
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on May 30, 2014, 05:05:12 AM
Most of the scripts I have is merely for the random aspects.

Anything else is by manual labour, which is partially the reason I started this. The games will have a chance of human error, though it's nothing that can't be fixed later.
  By not showing the options you have for example all the places you can place your tile, it will be like a real game, you can misplace a tile that could've score you a lot more elsewhere.

Now, I do have some ideas how to solve the follower placement but all of them seems too complicated. Even when encoding in javascript I stumbled across this as each tile is different.  :@

The rrrr tile mentioned could be like "farm NW" "road S" etc when a player wants to place a follower.

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Whaleyland on May 30, 2014, 09:51:25 AM
Looks good on my screen for the first time (Safari on MacOS X 10.9.3).
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on June 08, 2014, 11:34:41 AM
Update 4:

Although this still is a lot of fun, it does start to feel pointless in regards of only playing by myself.
  Instead, working to remove all followers and expand the board itself now and then to see how large I can get it.

If you guys are still interested in trying an E-mail based Carcassonne game, I'm still happy to try this out.

Rundown of the idea:
1. I will create an E-mail you can mail your 'move' to and from where I will mail you your 'tile' drawn.
2. When I receive your move I will upload it to the online board which anyone can see and thus follow the game between the two CC members.

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: danisthirty on June 09, 2014, 05:18:36 AM
I'd be very happy to give you a match! I will PM you with my email address...

Would the game include expansions? I'm very happy to use whatever you like but I'm aware that a game played over email may take quite a long time to complete if there are too many tiles to go through!
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on June 09, 2014, 06:12:59 AM
For now it would only be the base game with River I and II. These are the only tiles I've edited and uploaded. Next would be Traders and Builders when I get a chance.

It would be great to test this E-mail game indeed! I'll message you back with the E-mail I will make later today when I get home.

 :meeple:
Title: Re: Carcassonne Diary started May 21, 2014
Post by: Paul on June 19, 2014, 12:43:45 PM
A little update, this project is on hold for lack of time. However, I have something else in mind with this which will involve more people. We'll just have to wait and see.  :D

 :meeple: