[Games] 1st OGF rengo 19x19 tournament

Moving the new game previews to another thread while there’s loading issues

(I forgot I was round robin when I suggested it.)

List of games
Please do not kibitz on ongoing games.

Show games

:black_circle: Team 2 vs. Team 1 :white_circle:

:black_circle: Team 3 vs. Team 1 :white_circle:

:black_circle: Team 3 vs. Team 2 :white_circle:

:black_circle: Team 4 vs. Team 1 :white_circle:

:black_circle: Team 4 vs. Team 2 :white_circle:

:black_circle: Team 4 vs. Team 3 :white_circle:

:black_circle: Team 5 vs. Team 1 :white_circle:

negative 6.5 komi

:black_circle: Team 5 vs. Team 2 :white_circle:

negative 6.5 komi

:black_circle: Team 5 vs. Team 3 :white_circle:

negative 6.5 komi

:black_circle: Team 5 vs. Team 4 :white_circle:

:black_circle: Team 6 vs. Team 1 :white_circle:

handicap 5

:black_circle: Team 6 vs. Team 2 :white_circle:

handicap 5

:black_circle: Team 6 vs. Team 3 :white_circle:

handicap 5

:black_circle: Team 6 vs. Team 4 :white_circle:

handicap 4

:black_circle: Team 6 vs. Team 5 :white_circle:

handicap 2

1 Like

I updated the initial post with embedded games. It’s pretty slow to load…any ideas @benjito?

3 Likes

Neat! and huh. Maybe embed codes should set loading=lazy?

EDIT: Aw poop. discourse doesn’t respect that attribute anyway.

1 Like

Doesn’t work for me.

4 Likes

In fact I logged out and logged in again on the forum and now it works.

Hmm… No it’s broken again and logging out and in doesn’t work anymore. I have that problem on Firefox, however on Microsoft Edge it’s apparently all right.

4 Likes

It half-loaded once, snapped and hasn’t loaded again.

2 Likes

Could someone move the embedded games from the first post and the comments about it in a new thread?

(we can move the games back in their rightful place when it’s figured out)

It’s working for me (chrome on Android) and gives me the chance to ask my Rengo noob question I think.
Which players are shown when? I.e. it shows “player+1” and I suppose at some point out changes to “otherplayer+1” but when/why?

I suppose the player to move is shown on the team whose move it is but is the opponent shown the player who will move or who just moved?

From my experience it shows “player to move+1” vs “player to move next+1”.

3 Likes

Please keep it as a wiki so we can experiment!

1 Like

Show games does show the games but the board size is not fixed, it constantly (in a high tempo) changes size.

Safari 15.1

And after updating Monterey to 12.4 it does.

1 Like

I was offline for a bit, but also it was hard to move them, and even to edit to turn into a wiki.

The page kept either crashing or refreshing on me on mobile

@benjito any ideas?

I’m still not sure what the problem here, but I think @Atorrante gave a really good hint. Makes me think it has something to do with the ResizeDetector

Another clue:

{
  name: "NS_ERROR_FAILURE",
  message: "",
  result: 2147500037,
  filename: "https://cdn.online-go.com/goban/0.5.94/goban.min.js",
  lineNumber: 2,
  columnNumber: 0,
  data: null,
  stack:"redraw@https://cdn.online-go.com/goban/0.5.94/goban.min.js:2:101274\n488/markDirty/this.dirty_redraw<@https://cdn.online-go.com/goban/0.5.94/goban.min.js:2:140306\na@https://cdn.online-go.com/5.1/vendor.42a0b96ba8964d2c9791d4d1deec0981.js:2:65248\n"
}

I wonder if this has something to do with the fact that the iframes are hidden in this thread? If so, maybe it’s possible to fail gracefully until the iframes are shown…

2 Likes

so yeah just tried 15 games outside of a details dropdown - it’s still super slow, but I didn’t see any broken iframes. I’m thinking the fix looks something like:

    const { width, ref } = useResizeDetector();

+   const width_is_valid = !!width && width > PADDING;

    return (
        <div className="goban-embed" ref={ref}>
-           <MiniGoban id={game_id} displayWidth={width - PADDING} openLinksInNewTab />
+           { width_is_valid && <MiniGoban id={game_id} displayWidth={width - PADDING} openLinksInNewTab /> }
        </div>
    );

Or alternatively, set width if it’s invalid:

    const { width, ref } = useResizeDetector();

+   const actual_width = width && width > PADDING ? width : DEFAULT_DISPLAY_WIDTH;

    return (
        <div className="goban-embed" ref={ref}>
-           <MiniGoban id={game_id} displayWidth={width - PADDING} openLinksInNewTab />
+           <MiniGoban
+               id={game_id}
+               displayWidth={actual_width - PADDING}
+               openLinksInNewTab
+           />
        </div>
    );
1 Like