C++ Lingo Game

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kipj77
    New Member
    • Sep 2007
    • 11

    C++ Lingo Game

    I was wondering how to go about creating the game Lingo in a c++ program. If you can help please reply. Thanks.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    I'm betting most of the members here could help. Perhaps you could post the rules of this game and what you have done so far?

    Comment

    • kipj77
      New Member
      • Sep 2007
      • 11

      #3
      I haven't started yet. The program has a word .dat file for all of the 5 letter words. It asks for each letter in the 5 letter word and then puts either an asterisk the letter or blank for: correct but in the wrong spot, correct, or incorrect respectively. Im just wondering how to use the arrays in this program.

      Comment

      • oler1s
        Recognized Expert Contributor
        • Aug 2007
        • 671

        #4
        " I haven't started yet."
        If writing the code looks daunting, I suggest coming up with the logic. First, come up with the overall logic for the game. Then break it down into parts, and come up with the logic with each individual part. We can assist you by correcting your logic. Come up with the overall logic first, that effectively how the game is played out by the program (and appropriate user interaction).

        " Im just wondering how to use the arrays in this program."
        I can think of several ways arrays will come in handy, but you'll need arrays for buffers. And it's obvious how buffers are used, as by now you should have been using them repeatedly. But really, what's the point in talking about arrays and variables when you don't a) have any code to fix and b) don't even have any logic to code.

        So at this point, we cannot assist you until you either bring out some logic to correct, or have some code that isn't working, that you fail to fix, and need our help on.

        Comment

        Working...