Share via


Match Colours or Symbols - Small Basic Featured Program

Today's featured program is "Match colours or symbols" written by Glenn Broadway.

avatar for Glenn Broadway

Glenn wanted to learn how to use OnKeyDown and OnMouseDown events in the GraphicsWindow so he wrote a simple matching game.  The program ID is PRP467.

Screen shot of a program Match colours or symbols

But he said it seems that FontSize doesn't work in the Silverlight player.  I tried to fixed this problem according to a Silverlight issue.  The new version is PRP467-0.  I took 100 ms for a delay.  This workaround works with my machine.  But I'm not sure for other machines.

Other way to avoid this issue is to prepare some Shapes for texts and to use Shapes.ShowShape and Shapes.HideShape.

Thank you Glenn for sharing your game!


Please post your programs or ideas to the forum thread Nominate games (or other programs) here to get featured on our Blog! (PART 3).