Skip to content

Instantly share code, notes, and snippets.

@juandesant
Last active August 2, 2023 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juandesant/b4e86f91b4f4d52c1eb3c049ab404200 to your computer and use it in GitHub Desktop.
Save juandesant/b4e86f91b4f4d52c1eb3c049ab404200 to your computer and use it in GitHub Desktop.
digraph pictionary_play {
node [fontname = "Handlee"];
edge [fontname = "Handlee"];
splines=false;
randir=LR;
draw [
label = "Draw a picture";
shape = rect;
];
win [
label = "You win!";
shape = oval;
];
guess [
label = "Did they\nguess it?";
shape = diamond;
];
point [
label = "Point repeatedly\nto the same picture.";
shape = rect;
];
draw -> guess;
win -> guess [ label = "Yes"; dir=back ];
guess -> point [ label = "No" ];
{
rank=same;
win; guess; point
}
{
rank=same;
guess2; point2;
}
guess2 [
label = " ";
color= white ;
];
point2 [
label = " ";
color=white;
];
point:s -> point2:n [ arrowhead = none ];
guess2:n -> point2:n [ arrowhead = none ];
guess2:n -> guess:s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment