(10-17-2023, 02:14 PM)SMcNeill Wrote:(10-17-2023, 01:59 PM)bplus Wrote: @SMcNeill did you start your game from scratch or just translated the old into easier to understand new?
I just translated the old, with some minor changes which I felt enhanced readability, such as changing some variable names from Z, ZZ, whatever to Money, Bet, ect. I redid that mess of logic which was used with the RND numbers. Why the original poster never simply added one to get a range from 1 to 3, rather than a range of 0 to 2 and replace 0 with 3, is beyond me! Line numbers were stripped out, and a few essential GoTos were redirected to more readable labels.
But, that's honestly the exact same code -- just translated up to a more modern and precise form of coding style.
Good! because I am starting from scratch at that other forum to demo how to go from idea to QB64 code; DO NOT goto Morristown and collect old code to port! Learn to code QB64 from your ideas is what I am preaching ;-)) but yes for ideas Morristown is fantastic, it's where I met ELIZA <3 from SmallBASIC library copy.
Thanks guys for helping me understand what Cube was suppose to do. I am gunna skip the wagering part because this game is stupid based on pure luck, no skill that I can see. Just a little coding challenge but...
Now throw in some minesweeper clues and we've got something way more interesting to me! a potential bplus mod!
b = b + ...