[VB.NET 2005] HexCell - a game to demonstrate boolean operations-VBForums
Results 1 to 2 of 2

Thread: [VB.NET 2005] HexCell - a game to demonstrate boolean operations

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,026

    [VB.NET 2005] 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.
    Last edited by Merrion; Nov 4th, 2009 at 02:59 PM.

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: HexCell - a game to demonstrate boolean operations

    Moved To Games Programming
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.