Old Games
#5
(06-11-2022, 07:37 AM)johnno56 Wrote: Slight problem... After completing the game, "press any key", restarts but will not go past the first guess for the next game...

Oh I probably forgot to reinitialize guesses count to 0.

Put this line right after restart:
Code: (Select All)
restartF = 0: lc = 0: guesses = 0 
All Dim Shared variables back to 0.

There are some code inefficiencies like lc (loopcount) should be same as guesses I would think...

Hey I looked up Farkle last night, another dice game like Poker? Apparently a pair doesn't count for anything.
b = b + ...
Reply


Messages In This Thread
Old Games - by johnno56 - 06-11-2022, 02:02 AM
RE: Old Games - by bplus - 06-11-2022, 05:34 AM
RE: Old Games - by johnno56 - 06-11-2022, 07:26 AM
RE: Old Games - by johnno56 - 06-11-2022, 07:37 AM
RE: Old Games - by bplus - 06-11-2022, 01:31 PM
RE: Old Games - by johnno56 - 06-11-2022, 09:13 PM
RE: Old Games - by James D Jarvis - 06-13-2022, 12:17 PM



Users browsing this thread: 3 Guest(s)