Match Colours or Symbols – Small Basic Featured Program

This post has been republished via RSS; it originally appeared at: Small Basic Blog articles.

First published on MSDN on Jun 08, 2018

Authored by Nonki Takahashi


Today's featured program is "Match colours or symbols" written by 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 .



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).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.