Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
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

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb games or graphics for 3-D glasses? madscijr 28 4,958 01-08-2025, 04:39 AM
Last Post: madscijr
  Almost 500 QuickBasic Games TerryRitchie 12 2,560 01-08-2024, 01:02 AM
Last Post: a740g
  Creepy Computer Games & BASIC Computer Games SMcNeill 9 1,937 12-02-2023, 07:39 AM
Last Post: mnrvovrfc
  Chapter 20 Games Programming Terry's Tutorial bplus 3 923 06-29-2023, 08:12 PM
Last Post: TerryRitchie
Question Basic for games only Kernelpanic 26 5,232 08-07-2022, 10:52 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)