Active Forums => Programs => Topic started by: OldMoses on January 13, 2021, 10:43:41 pm
Title: Game board/ crosscut and flip SUB
Post by: OldMoses on January 13, 2021, 10:43:41 pm
Back when I was a young lad endeavoring to put an eye out with sharp tools, I made a chessboard in wood shop. It was a disaster, given that I didn't make sufficient allowance for saw kerfs. However, it did show me how it was done.
So I reasoned that I could do it the same way with QB64. Start with two desired images. Saw out 8 alternating strips, glue them together, crosscut them and flip every other crosscut strip. It gives a somewhat natural variation in the board, such as might be expected by the manufacturing process. Best of all, no saw kerf allowances. You can substitute black marble and strawberry tapioca if you have a mind to. Try that on a table saw...
[ This attachment cannot be displayed inline in 'Print Page' view ] [ This attachment cannot be displayed inline in 'Print Page' view ]
Title: Re: Game board/ crosscut and flip SUB
Post by: SierraKen on January 14, 2021, 12:01:58 am
WOW!!!! That is so cool OldMoses! Someone could either add a chess or checkers game to it (even a 2 player would be really cool). Or they could print it out and play right on the paper. :D This reminds me of the chess board I made when I was staying at a head injury rehab center in 1992. Except I didn't make one like this, instead I glued square ceramic tiles to a piece of plywood. I didn't have it for long though, it took up a lot of room and I didn't use it much. I really hope someone makes a game out of yours.
Title: Re: Game board/ crosscut and flip SUB
Post by: SierraKen on January 14, 2021, 12:04:13 am
I see yours switches dark to light and light to dark when you press a key. :)
Title: Re: Game board/ crosscut and flip SUB
Post by: STxAxTIC on January 14, 2021, 02:41:04 am
Nice work. All diced up like that, I can barely see the watermark on the images anymore!
Title: Re: Game board/ crosscut and flip SUB
Post by: Pete on January 14, 2021, 02:49:24 am
Sure, it's all fun and games until for FOR loop loses an i.
Pete
Title: Re: Game board/ crosscut and flip SUB
Post by: OldMoses on January 14, 2021, 07:15:17 am
Nice work. All diced up like that, I can barely see the watermark on the images anymore!
My old peepers didn't see them until you pointed them out. I could have put an i out... LOL
Another thing I didn't catch;--- until I was singing in the shower about a half hour after posting, --- since I am freeing the images within the loop, the arrays are completely extraneous. Revised code works the same.