HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
Go Back  Xtreme Visual Basic Talk > > > > HexCell - a game to demonstrate boolean operations


Reply
 
Thread Tools Display Modes
  #1  
Old 08-10-2006, 01:13 AM
Merrion's Avatar
MerrionHexCell - a game to demonstrate boolean operations Merrion is offline
Ultimate Contributor

* Guru *
 
Join Date: Sep 2001
Location: Dublin, Ireland
Posts: 1,828
Default HexCell - a game to demonstrate boolean operations


Warning - this can really waste a lot of your time!

The rules of the game will be immediately obvious to anyone who has done Soduku. Basically the grid is divided into 16 quadrants and each row, column and quadrant must contain one and only one of each of the 16 possible colours.

You can select or unselect colours from the 16 possibilities for the current cell using the left mouse button. If you know that a given cell can only contain one colour, there is a right-mouse shortcut menu to select a colour. Also there is an option on that menu to clear a cell back to all 16 possibilities if (when) you get it wrong.

Grids can be saved and loaded to an XML file (with the extension .xhx) and there is one example included.

This program demonstrates using flag values (integers defined as powers of two) to set or unset bits in a 32 bit integer.
Attached Images
File Type: jpg Screenshot.JPG (154.3 KB, 130 views)
Attached Files
File Type: zip HexCell.zip (258.1 KB, 96 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
 
HexCell - a game to demonstrate boolean operations
HexCell - a game to demonstrate boolean operations
 
-->