Life In 19x19
http://www.lifein19x19.com/

Diagrams Should Work Now
http://www.lifein19x19.com/viewtopic.php?f=14&t=63
Page 1 of 4

Author:  Kirby [ Tue Apr 20, 2010 10:10 am ]
Post subject:  Diagrams Should Work Now

I haven't tested it out a ton, but the go tag diagrams should work now. Please give it a shot, and leave a comment here if you have problems.

Author:  Kirby [ Tue Apr 20, 2010 10:11 am ]
Post subject:  Re: Diagrams Should Work Now

Test diagram:

Click Here To Show Diagram Code
[go]$$Bcm151 Moves 151 to 160 This is a long title, which I am going to keep writing about. You can write paragraphs and paragraphs, and the captions should wrap correctly, and not overlap with the image. Hopefully this works on all diagram sizes. If it does, that would be cool. And nothing else to say here, I guess...
$$ ---------------------------------------
$$ | . . . . . . . . . . . . O . . . . . . |
$$ | . . . . O X . . . . X O X O O . O . . |
$$ | . O O O . X . . . X . . X X O O X . . |
$$ | . . X O . . . X . , X . . X X X O O . |
$$ | . . X O . X X X X O . O . . . X X O . |
$$ | . . . . O O O X O . . . . . X X O . . |
$$ | . . X . . . . O O . . O . . X O . O . |
$$ | . . . . O X . . . . . . X X O O . . . |
$$ | . X X . O 6 . O . O . X . . . O O . . |
$$ | . O X , X . X O . , . . . . X O X X . |
$$ | . O O X . . X O X X . X X X . X . . . |
$$ | . . . X . . . X O . . O X O X X 5 O . |
$$ | . . O X . . . X O . O . O O O . X 4 . |
$$ | . . O X . . . X O . . . O . X O O O . |
$$ | . . O . . . . O X O O . O . . X . . . |
$$ | . . O X X . . . X X X O . O . X O . . |
$$ | . . X O X . . . X . . X O . . X O . . |
$$ | . . O O X 3 . . . . . . X X . X O 0 . |
$$ | . . 2 C O . . . . . . . . . . 9 7 8 . |
$$ ---------------------------------------[/go]

Author:  fwiffo [ Tue Apr 20, 2010 10:32 am ]
Post subject:  Re: Diagrams Should Work Now

Oooh, do we have the latest version?

Click Here To Show Diagram Code
[go]$$Bc Example: using arrows to show influence
$$ ------------------
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ | . O O O . O . . .
$$ | . O X X X . . . .
$$ | . X . . . . . . .
$$ | . . X . . . . . .
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ {AR C14 C11}
$$ {AR 5:6 6:9}[/go]


Doh! We should be able to drop in the latest version, no? Also, minor quibble: the captions don't work. Getting things like "show diagram code" working is useful for things like Malkovich games too.

Author:  Kirby [ Tue Apr 20, 2010 11:15 am ]
Post subject:  Re: Diagrams Should Work Now

fwiffo wrote:
Oooh, do we have the latest version?

Click Here To Show Diagram Code
[go]$$Bc Move #16 Example: ;"#%&+/:;<>?'";"#%&+/:;<>?'";"#%&+/:;<>?'";"#%&+/:;<>?'"using arr<ows #to show influence#&+/%#&+/%#&+/%sdfa
$$ ------------------
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ | . O O O . O . . .
$$ | . O X X X . . . .
$$ | . X . . . . . . .
$$ | . . X . . . . . .
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ {AR C14 C11}
$$ {AR 5:6 6:9}[/go]


Doh! We should be able to drop in the latest version, no? Also, minor quibble: the captions don't work. Getting things like "show diagram code" working is useful for things like Malkovich games too.


Thanks for the feedback. I'll try to get on it a bit later today.

Author:  Chew Terr [ Tue Apr 20, 2010 11:42 am ]
Post subject:  Re: Diagrams Should Work Now

Thanks a lot for your work, looking great so far!

Testing:

Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]

Author:  Joaz Banbeck [ Tue Apr 20, 2010 12:00 pm ]
Post subject:  Re: Diagrams Should Work Now

Click Here To Show Diagram Code
[go]$$Bc
$$|-----------------
$$|. . . . . . . . . . . . . .|
$$|. . . . . . . . . . . . . .|
$$|. . . X . O . . 1 . . . . .|
$$|. . . . . . . . . . . . . .|
$$|. . . . . . . . . . . 2 . .|
$$|. . . . . . C . . x . . . .|
$$|. . . . . . . . . . . . . .|
$$|. . . . . . . . . . . . . .|
$$|----------------[/go]



IT WORKS!!!!!!!

Author:  Marcus [ Tue Apr 20, 2010 12:00 pm ]
Post subject:  Re: Diagrams Should Work Now

Chew Terr wrote:
Thanks a lot for your work, looking great so far!

Testing:

Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


I recognize that diagram! :P

Author:  Joaz Banbeck [ Tue Apr 20, 2010 12:02 pm ]
Post subject:  Re: Diagrams Should Work Now

Where do we send donations?

Author:  oren [ Tue Apr 20, 2010 12:05 pm ]
Post subject:  Re: Diagrams Should Work Now

Good job, Kirby!

Author:  Joaz Banbeck [ Tue Apr 20, 2010 12:19 pm ]
Post subject:  Re: Diagrams Should Work Now

Thanks Kirby!

A request: I'd like to be able to slide diagrams over to the right abit, so that I can do multiple diagrams in an outline style, to have leading space not be suppressed.

In other words, in a Malkovich game, I want to be able to do something like the schematic in purple below:


The current position is this:
+------------------------------+
|++++++++++++++++++|
|++++++++++++++++++|
|++++++++++++++++++|
|++++++++++++++++++|
|++++++++++++++++++|
|++++++++++++++++++|
+------------------------------+

There are two reasonable replies, A and B

A looks like this

..........+------------------------------+
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........+------------------------------+

He can ignore A,but he dies as shown below

..................+------------------------------+
..................|++++++++++++++++++|
..................|++++++++++++++++++|
..................|++++++++++++++++++|
..................|++++++++++++++++++|
..................|++++++++++++++++++|
..................|++++++++++++++++++|
..................+------------------------------+

B looks like this:

..........+------------------------------+
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........|++++++++++++++++++|
..........+------------------------------+



While you are under the hood, can you do that?
.

Author:  Jordus [ Tue Apr 20, 2010 12:21 pm ]
Post subject:  Re: Diagrams Should Work Now

Joaz Banbeck wrote:
Where do we send donations?


As of right now, I have purchased everything needed for at least the next 7 months. The hosting service is paid through until December. And the domain name is paid up for 2 years. Donations are not currently needed.

The only reason donations may be needed:

1. Upgrade current hosting plan. The current plan is not "unlimited", however an unlimited plan seems to not be necessary. If I use the highest amount of daily traffic the site has received so far as a baseline for everyday use, in one month we would have only used .05% of the allotted bandwidth. (cost of upgrade if community wants it is approx. $80 per yer. Total server cost would run between $160 and $200 per yer on the upgraded "unlimited" service.)

2. domain renewal

3. hosting service period extension. (Hosting service is paid through December 2010, we can extend that time period with donations if wanted. Cost of renewal approx. $20 per yer)

Author:  Kirby [ Tue Apr 20, 2010 12:54 pm ]
Post subject:  Re: Diagrams Should Work Now

Joaz Banbeck wrote:
Thanks Kirby!

A request: I'd like to be able to slide diagrams over to the right abit, so that I can do multiple diagrams in an outline style. In other words, I'd like to have leading space not be suppressed. While you are under the hood, can you do that?



No problem. I think figuring out how to use bbcode effectively was the hardest part, so it should be smooth sailing, now. Actually, maybe we could make some new features that GD didn't have before... But after I'm home from work. :) Or, Jordus might do some work, too, before I get to it.

Author:  Jordus [ Tue Apr 20, 2010 5:21 pm ]
Post subject:  Re: Diagrams Should Work Now

Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


                              
Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


to do this just wrap the go tags with indent tags for the middle diagram and center tags for the bottom diagram. ex:
Code:
[indent][go]diagramcode[/go][/indent]      and    [center][go]diagramcode[/go][/center] 

Author:  Joaz Banbeck [ Tue Apr 20, 2010 10:22 pm ]
Post subject:  Re: Diagrams Should Work Now

Jordus wrote:
...to do this just wrap the go tags with indent tags...


Thanks. Ideally, I'd like nested indents.

Heck, while I'm wishing, I'd like arrows ( multi-colored ) and clouds or regions ( sort of likethe purple 'define region' function of eidogo, but not limited to being rectangular - also multi-colored )

Author:  unkx80 [ Wed Apr 21, 2010 1:34 am ]
Post subject:  Re: Diagrams Should Work Now

Diagrams are now working. Wooooo!

However, diagram captions currently overlap the diagram itself. Please see:
viewtopic.php?f=15&t=56

Author:  Kirby [ Wed Apr 21, 2010 10:30 am ]
Post subject:  Re: Diagrams Should Work Now

unkx80 wrote:
Diagrams are now working. Wooooo!

However, diagram captions currently overlap the diagram itself. Please see:
viewtopic.php?f=15&t=56


Oops. Looks like there's a bug in the diagram word wrapping I worked on last night... Sorry about that. I'll try to have it fixed by the end of day today.

Author:  unkx80 [ Wed Apr 21, 2010 10:45 pm ]
Post subject:  Re: Diagrams Should Work Now

Kirby wrote:
unkx80 wrote:
Diagrams are now working. Wooooo!

However, diagram captions currently overlap the diagram itself. Please see:
viewtopic.php?f=15&t=56


Oops. Looks like there's a bug in the diagram word wrapping I worked on last night... Sorry about that. I'll try to have it fixed by the end of day today.


I see that you have fixed it. Thanks! :)

Author:  Kirby [ Wed Apr 21, 2010 10:53 pm ]
Post subject:  Re: Diagrams Should Work Now

unkx80 wrote:
Diagrams are now working. Wooooo!

However, diagram captions currently overlap the diagram itself. Please see:
http://www.lifein19x19.com/forum/viewto ... ?f=15&t=56


Hey unkx80,
I updated the captions. You should be able to have long text, and it should wrap now... Unless you find another bug ;)

Author:  apetresc [ Thu Apr 22, 2010 1:25 am ]
Post subject:  Re: Diagrams Should Work Now

Testing to make sure the latest update to 3.0.7 hasn't broken anything.

Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]




Edit: Cool, looks like everything made it through alright :)

Author:  HermanHiddema [ Thu Apr 22, 2010 2:16 am ]
Post subject:  Re: Diagrams Should Work Now

Great work on the diagrams, I'm happy that we can use the new features that have been implemented for a long time already on Sensei's Library, like setting a starting number for the moves.

@Joaz: Although you cannot nest indent tags, you can nest list tags:

Click Here To Show Diagram Code
[go]$$Bm13 No list tags
$$ +-------
$$ | . . . . .
$$ | . . . . .
$$ | . 2 . 1 .
$$ | . . . . .[/go]


    Click Here To Show Diagram Code
    [go]$$Bm13 1 list tag
    $$ +-------
    $$ | . . . . .
    $$ | . . . . .
    $$ | . 2 . 1 .
    $$ | . . . . .[/go]

      Click Here To Show Diagram Code
      [go]$$Bm13 2 list tags
      $$ +-------
      $$ | . . . . .
      $$ | . . . . .
      $$ | . 2 . 1 .
      $$ | . . . . .[/go]


      If you don't put * tags in front of lines, they dont have dots in front of them, so you can nest your comments on the same level as your diagram.

    • With a * tag they do have dots...


        Click Here To Show Diagram Code
        [go]$$Bm13 3 list tags
        $$ +-------
        $$ | . . . . .
        $$ | . . . . .
        $$ | . 2 . 1 .
        $$ | . . . . .[/go]

Page 1 of 4 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/