Forum: VB.NET Nov 15th, 2005 |
| Replies: 1 Views: 1,484 Re: X,Y,Z to Isometric? My brain hurts. I think i figured it out after all. X and Z (for rectaliniar objects only) become
(X or Z) * [inversetangent(sqrt(3))]/2
while Y remains the same
More of a math question it seems; lo siento. |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 Re: Number Game: '81' I actually had never heard of Sudoku puzzles before coding the 81 game. The 'Cheat' code uses just what you cited: no same rows/columns allowed. I am loathe to attempt a more complex Sudoku puzzle,... |
Forum: VB.NET Nov 15th, 2005 |
| Replies: 0 Views: 1,885 Draw the perimiter of a PointF collection? My brain hurts again.
I want to take a collection of PointF objects and crate a path that is the outer perimiter of the collection, so that I don't get a criss-cross problem. I'm assuming no wierd... |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 |
Forum: VB.NET Nov 15th, 2005 |
| Replies: 1 Views: 1,484 X,Y,Z to Isometric? My brain hurts. This is as much of a Math question as it is a Programming issue, but I thought I'd put it out there.
I want to map X,Y,Z (or Width,Depth,Altitude) to isometric, civil-engineering type 120 degree... |
Forum: VB.NET Nov 15th, 2005 |
| Replies: 1 Views: 15,929 Re: Check to see if null I'll give it a shot:
Depending on wether or not the value is coming from a DB call (DB.Null.Value) or from a naked object (= Nothing), try this:
'FROM DATABASE CALL:
if dr.Count >= 4 Then 'Try not... |
Forum: VB.NET Nov 15th, 2005 |
| Replies: 11 Views: 4,015 Re: I'm looking for words counter code LuckyMan- you may want to check out "Regular Expressions" on msdn or even Google; it is native to VB .NET (and Pearl, etc) and has powerful string parsing functions that, I hope, will make everything... |
Forum: VB.NET Nov 15th, 2005 |
| Replies: 1 Views: 1,454 Re: anyone can help me, plzzz??? Without your source code I can't be sure, but this should work for the random country proplem (it's a bit inelegant, I admit):
Public Function GetRandomCountries(ByVal AllCountries As Collection,... |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 Re: Number Game: '81' Exactly. And yet, I asill suspect that there is a intuitive way to complete the grid regardless of the initial state. Sadly, I was never good with a Rubick's Cube- Matricies are not my strong point. |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 Re: Number Game: '81' A valid question. A random placement of the first 1-9 will almost never fit the (1-9)/(2-1)/(3-2)... pattern; in fact, I should exclude that explicitly. Here's a sample screenshot (the green squares... |
Forum: Geeks' Lounge Nov 15th, 2005 |
| Replies: 22 Views: 2,787 Re: Number Game: '81' I dig. Still, it's rewarding to pull a good idea from the aether, even if only to find out that it's been popular and remained difficult to solve, no? |
Forum: Geeks' Lounge Nov 14th, 2005 |
| Replies: 22 Views: 2,787 |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 22 Views: 2,787 |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 11 Views: 2,683 Re: Logic Puzzle discussion Interesting- I had never heard of Sudoku puzzles before. Perhaps the concept is more challenging than I had thought. Thanks for the reply. |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 11 Views: 2,683 Re: Logic Puzzle discussion This little guy just presents the scenario and enforces the rules. I honestly don't know if it's easy or hard to solve, but it should always be possible to fill the grid with a little planning. I did... |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 11 Views: 2,683 Re: Logic Puzzle discussion This may be an oldie, but it's one of my favorites:
Standing ankle deep in the snow, you find youself in front of a small cabin. There are no windows, and the structure is shut tight. On the outside... |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 11 Views: 2,683 Re: Logic Puzzle discussion A friend of mine came up with this while bored in class; I made it into a little VB .NET app. The goal is to drop the numbers 1-9 onto a 9x9 grid without repeating the same number in any row or... |
Forum: Geeks' Lounge Nov 13th, 2005 |
| Replies: 22 Views: 2,787 Number Game: '81' A friend of mine came up with this while bored in class; I made it into a little VB .NET app. The goal is to drop the numbers 1-9 onto a 9x9 grid without repeating the same number in any row or... |