6701d67860c32b8886b59587c9e32a4f86a8a96d braney Tue Jun 9 17:13:31 2026 -0700 masterMindGame: demo bigLolly track rendering a solved game of Mastermind on hg38 Demonstrates the lolly track type by mapping a Mastermind board onto it: score field is the board row, genomic position is the peg column, itemRgb is the peg color, and the size field separates the large code pegs from the small feedback key pegs. Guesses come from a consistent-candidate solver so the black/white feedback is real. Included alpha-only. diff --git src/hg/makeDb/scripts/masterMindGame/masterMindGame.as src/hg/makeDb/scripts/masterMindGame/masterMindGame.as new file mode 100644 index 00000000000..a17a541d621 --- /dev/null +++ src/hg/makeDb/scripts/masterMindGame/masterMindGame.as @@ -0,0 +1,15 @@ +table masterMindGame +"A solved game of Mastermind drawn as a lollipop track. Each row is a guess, the top row is the secret code, and the small pegs to the right are the black/white feedback key pegs." + ( + string chrom; "Reference sequence chromosome or scaffold" + uint chromStart; "Start position in chromosome" + uint chromEnd; "End position in chromosome" + string name; "Peg label" + uint score; "Board row, used for the vertical position of the peg" + char[1] strand; "Unused" + uint thickStart; "Unused" + uint thickEnd; "Unused" + uint reserved; "Peg color as R,G,B" + uint size; "Peg radius scale (large for code pegs, small for key pegs)" + lstring _mouseOver; "Mouseover text" + )