Monday, 16 June 2008

Live 2 Code - Code 2 Live - Swagilly Fortunes

As one of the founders of the NxtGen user group, myself and the other two reprobates, Rich and Dave, realised that after spending a whole day listening to presenters talk about the latest technology, there’s only so much information that the human brain can absorb. I felt that some light relief was needed at the end of the day. So, Swaggily Fortunes was born.


Since its first outing at NxtGens’ Fest 07 at Reading, its appeared 4 times since, including at TechEd Barcelona. We still receive requests to run it at various events.

So, what is it? I’m sure you remember Family Fortunes on ITV, (even if you don’t want to admit to it!) Well this is my take on this game show.

There are 2 teams and one member of each team steps up to a table, then the quizmaster asks question and whoever buzzes first gets to answer, if they get it right the whole team gets to come up with answers. Each correct answer earns their team some points. Get it wrong, and you lose a life. Lose 3 lives and the other team wins.

So, whats the technical makeup of this? Well, first there’s the question master. In Swaggily Fortunes thats Microsoft Anna. She reads the question out each time, and waits for the buzzer.

Theres some hardware involved as well, the buzzers. They are big red buttons mounted on plastic boxes connected via some howngrown electronics to a usb port, where they are recognised by Vista as a HID (Human Interface Device)





The input from the buzzers is dealt with by DirectX, Direct Input to be precise. This scans the game controller ports looking for which button is pressed first.



When one is, the WPF code runs an animation to show which team pressed and well as playing the obligatory buzzing sound.Theres 2 screens that make up this application.



The first is want the audience sees, the main game screen. This is a WPF application that shows the question in play, the answers given and the lives lost down the side.




The second screen, which is where I run the game from, appears on the Laptops own screen, whereas the main screen is put out to the projector using some .NET code to detect the presence of the number of monitors and allocates the right thing to the right display.



From the control screen, I can allow people to test their buzzers, choose the question, change which team is playing, although this is automatically selected. If the teams take too long to answer, I can also play a tick tock sound to tell them to hurry up.

So, if you hear that Swagilly Fortunes is playing at an event near you then come and say hello!









Sunday, 8 June 2008

Vista and XP search updates

When Vists was first release, I wrote an article for Microsoft about the new search machanism in Vista. Well, theres now an update to it, called Windows Search 4.0

The search engine in Windows Search 4.0 is a Microsoft Windows service that is also used by programs such as Microsoft Office Outlook 2007 and Microsoft Office OneNote 2007.

You can use this search engine to index a program's content and to obtain instant results when you search in a particular program. Windows Search 4.0 includes the following improvements:

Support for indexing encrypted documents of local file systems
Reduced affect on Microsoft Exchange when you index e-mail in online mode, and there is no local cache (.ost)
Support for indexing online delegate mailboxes
Support for client-to-client remote query to shared indexed locations
Improved indexing performance
Faster previewer updates for Windows XP
Per-user Group Policy settings
Windows software updates for Watson errors

You can find out more and can downloads updates for XP, Vista SP1 and Windows 2008 from http://support.microsoft.com/?kbid=940157