Misses/Guesses game Not working properly

I used a tutorial on creating a misses/guesses simple game.  But when a letter is typed that's not in the word bank, it doesn't show.  Also, when a letter is incorrect, it doesn't go in the misses section.  What am I missing? 

I've made screenshots of the code - thanks for your help1

Similar Messages

  • Any game not working properly..

    I have a Hp Pavillion with 1.8 Ghz i3 dual core,4 gb RAM and a RADEON 2gb graphics.
    First I had Windows 8 but now I have upgraded to windows 8.1 and from then the problems started, the games werent running properly even on low graphics. The games even not respond  sometimes, and in task bar I saw that it was using Intel graphics 4000.So the question is how do I can get my RADEON back pls. sombody send a solution..

    Hi @GamingRobo ,
    Welcome to the HP Community! I saw your post regarding playing games after upgrading to Windows 8.1. Your model has switchable graphics and that might be part of the problem. To help you further I will need to know your product number.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Why are flash games not working properly on Firefox, while they work perfectly on other browsers?

    I own a MacBook os x 10.5.8 Intel core duo.
    My problem started a few weeks ago, I tried playing a flash game, first it came up that i didnt have flash, which I did, so I ran an update but I already had the latest version.
    I gave up on the games on that page and went to newgrounds.com, but turns out everytime I try to play a game the controls wont work properly on any game.
    I thought it might be my flash, so I went to chrome and played the same game, no problems, to opera, no problems, to safari also no problems. So the problem is my firefox and the flash plug in? I already uninstalled it and re installed it, downloaded it again and followed every piece of advice I could find about this, nothing works.
    I appreciate some help with this matter, I like working with firefox, wouldnt want to change to other browsers.

    Hi gorgonzola357, there are some platform-specific differences between Windows 7 and MacOSX that may be relevant.
    Have you tried disabling the new protected mode in Flash 11.3, since that feature is currently being debugged? See this support article from Adobe under the heading "Last Resort": [http://forums.adobe.com/message/4468493 Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]

  • Profit center substitution rule miss matching or not working properly

    Hi Experts,
    We have a   substitution rule for profit center for sales group and profit center rule is like
    Is the sales group is 123 profit center should be 123, but now for some g/l like sales deductions that rule is not working for sales group BG1 PROFIT CENTER IS COMING AS BG4  in the same sale order
    I have checked out OKB9 settings also but for that g/l there is no derivation rule has been defined and there is no    cost derivation also
      Please help me out how find out the correct reason
    Thanks in advance,

    can any one give tthe sujestions ,plzzzzzzzzzzzzz
    Thanks and Regards
    Visu

  • "HiLo" number guessing game not working - Help please!

    My game is compiling and read's right (in my head) but doesn't appear to work, any help is highly appreciated, thank you.
    Source code. More specifically, I think that it's properly getting the random number, but the guess prompt is not appearing, probably because of my while(random!=number) line?
    import javax.swing.JOptionPane;
    import java.util.Random;
    * High-Low (HiLo) game.
    * @author
    * @version 11/18/2010
    public class HiLo
        String randomNumber = "";
        int random;
        String userNum = "";
        int number;
         * Asks player if he wants to play, gets random number, gets user guess, checks the users guess, asks to repeat.
        public void play()
            getRandom();
            while(random!=number)
                getGuess();
                checkGuess();
         * Gets the users guess.
        public int getGuess()
            userNum = JOptionPane.showInputDialog ("Please Guess the number");
            int number = Integer.parseInt(userNum);
            return number;
         * Gets a random number between 0 and 100
         * int named random
        public int getRandom()
            Random randomNumber = new Random();
            int random = randomNumber.nextInt(101);
            return random;
         * Checks to see if the user's guess is an integer, between 0 and 100, and returns if
         * they're guess is too high or too low.
        public void checkGuess()
            if (number==random)
                JOptionPane.showMessageDialog(null, "You Win!");
            else if (number<random)
                JOptionPane.showMessageDialog(null, "Too low, guess again!");
            else if (number>random)
                JOptionPane.showMessageDialog(null, "Too high, guess again!");
    }Edited by: 811146 on Nov 18, 2010 3:11 PM

    Sorry about that Darryl,
    a few more questions on this code though.
    1.How can I have my getGuess() only accept integers?
    here it is now:
    public int getGuess()
            userNum = JOptionPane.showInputDialog ("Guess a number between 0 and 100");
            number = Integer.parseInt(userNum);
            return number;
        }and 2. How can I keep my whole play() in a loop? So that the game starts over
    my play() right now:
    public void play()
            getRandom();
            while(random!=number)
                getGuess();
                checkGuess();
            numberGuesses = 0;
            playAgain();
        }sorry, first year student!
    thanks for any help. All of the code if needed:
    import javax.swing.JOptionPane;
    import java.util.Random;
    * High-Low (HiLo) game. User guesses numbers while trying to guess a random number. Number of guesses is recorded and the user is told
    * at the end of the game after winning.
    * @author ----------
    * @version 11/18/2010
    public class HiLo
        String randomNumber = "";
        String userNum = "";
        int random;
        int number;
        int numberGuesses;
         * Asks player if he wants to play, gets random number, gets user guess, checks the users guess, asks to repeat.
        public void play()
            getRandom();
            while(random!=number)
                getGuess();
                checkGuess();
            numberGuesses = 0;
            playAgain();
         * Gets the users guess.
        public int getGuess()
            userNum = JOptionPane.showInputDialog ("Guess a number between 0 and 100");
            number = Integer.parseInt(userNum);
            return number;
         * Gets a random number between 0 and 100
         * int named random
        public int getRandom()
            Random randomNumber = new Random();
            random = randomNumber.nextInt(101);
            return random;
         * Checks to see if the user's guess is an integer, between 0 and 100, and returns if
         * they're guess is too high or too low.
        public void checkGuess()
            numberGuesses = numberGuesses+1;
            if (number==random)
                JOptionPane.showMessageDialog(null, "You Win!" + " " + "Number of guesses:" + " " + numberGuesses);         
            else if (number<random)          
                JOptionPane.showMessageDialog(null, "Too low, guess again!");
            else if (number>random)      
                JOptionPane.showMessageDialog(null, "Too high, guess again!");
         * Asks the user if they want to play again.
        public void playAgain()
            JOptionPane.showMessageDialog(null, "play again?");         
    }-javaStudent

  • IPad 4 online games not working properly

    ever since the release of the new update, I am having difficulty connecting some game apps online. These includes Conquer online (cannot connect to game server), Injustice (online game wins not credited) and Deer Hunter 2014 (automatic updating not functioning). The issues started even before I install the update but after downloading the update. It seems like the download of data is good (CO downloads patches normally, i can manually download map updates for DH, Injustice can download the data on which I will battle) but there seems to be a problem uploading data as seen after playing Injustice where my wins are not credited.By the way, my connection is okay so the issue is really related to the update and the bug it brings. Even tried uninstalling and reinstalling apps and updating my OS to the newest to solve problem but it persists. Contacted game support groups and they are saying that app is working normally for others.

    Hello geraldluigibryan,
    You may consider contacting the developers of the affected games for further assistance, as you've exhausted all other potential troubleshooting steps detailed in the article below.
    Contact the developer
    If you see the issue again, contact the developer of the app for help:
    Find the app in the App Store.
    Tap the app and tap Reviews.
    Tap App Support.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/TS1702
    Cheers,
    Allen

  • Flash games not working properly

    When going to games on the Mattel.com site the game will load but clicking the play now icon doesn't work.  If I right click in the window and hit play the next screen will load but again nothing seems to work.  This games on the site work just fine on 4 other systems in the house.  This is a clean install of Windows 7 Ultimate x64. Any ideas? 

    Nevermind.  apparently these games will not play without speakers or headphones plugged in.  Neat trick

  • Game not working properly

    I got this game grand theft auto 3 and it's doing the same thing as the other game and I wanted to get a refund

    Contact the game's customer service people.

  • Why the games are not working properly in my ipad after installing iOS7

    Why games are not working properly in my ipad in my iOS 7

    The games you mention would have been written and therefore designed for the previous version of iOS - you've most likely had a lot of updates lately in the run-up to the release of iOS 7 and if these games haven't had an update then chances are these will need to be adapted to iOS 7 by the developers if not working correctly.
    Regards,
    Steve

  • I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I am facing a new problem after a missed call. i phone will get freez on its lock screen after a miss call. Its seems that its main screen touch is not working properly.  This problem occurs after each and every missed call.

    I'm using iphone 5s with ios 7.1.2  & I am facing a new problem after every missed call. i phone  gets freezed on its lock screen. It seems that its main screen touch is not working properly. It should be bug introduced by apple . This problem occurs after each and every missed call .There is no patch announcement for this issue yet. There are few workaround to fix this issue: Reboot your iphone. But its  irritating to reboot the phone frequently after each issue....

    Hello dipthebe,
    Check out the articles below go through troubleshooting steps for your iPhone when the screen is unresponsive. You may want to try and restore your iPhone as a new device and then test out what happens when you miss a call to see if the issue is still present afterwards.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Regards,
    -Norm G.

  • Adobe is not working properly not able to view videos or games

    adobe flash player not working properly and not able to view videos or games

    Welcome to the Adobe Forums.
    The more information you supply about your situation, the better equipped other community members will be to answer. Please supply the following Information that you haven’t already (where applicable):
        •    Adobe product and version number
        •    Operating system and version number
        •    Browser and version number (where applicable)
        •    The full text of any error message(s)
        •    What you were doing when the problem occurred
        •    Screenshots of the problem (if possible)
        •    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • I have lost track of the number of websites that do not work properly on the iPad without Adobe Flash player which is unsupported. I cannot use retail sites, billing sites and most important of all job application sites. All are missing tabs, links, info

    I have lost track of the number of websites which do not work properly on my iPad. They include retail sites, billing sites and most important of all job application sites. They all seem to require Adobe Flash Player which cannot be downloaded onto an iPad. Skyfire does not solve the problem. They all load without vital parts of the site such as tabs, links and correct formatting. Any suggestions?

    Most such brower/service combinations have a difficult time working with Flash-based apps and often fail completely. Flash videos are usually the most successful content these browers can handle. You can try the others apps - Puffin, iSwifter, etc - but you may find that none of them work, in which case you will not be able to use your iPad with these sites other than by using one of the various remote control solutions to take over a computer running the full Flash Player.
    IMHO, any developer that built a Flash application for a billing or job application site was an idiot, but I know that's out of the control of anyone but the relevant company.
    Regards.

  • Why is the built-in Apple dictionary in IOS7 not working properly?

    I've updated the system of my iPhone 4s to IOS 7.0 and I noticed there is a big change in the built-in dictionary. I touched the" manage" button and downloaded several dictionaries, however, I came across an issue that the Apple dictionary is not working properly. The definitions are just not there. The Oxford dictionaries are fine, but I miss the buitl-in Apple dictionary like the one in IOS6. Does anyone have the same issue?

    I had constantly wondered about the same problem and today I've finally figured it out.
    I thought 'Apple dictionary' had to be the same simple, built-in one in previous iOS versions,
    but it's actually dictionary for Apple-related terms only, I guess.
    Kinda like Apple Encyclopedia?
    Just try typing Mac and something and that 'Apple dictionary' will give you the definition of Mac, haha.
    Wish I had thought of this earlier then I wouldn't have been this disappointed LOL

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

Maybe you are looking for

  • Batch at the order header level

    Hi , When I transfer the production order from SAP ERP to SAP ME , The Batches at the order header level (Goods Receipt) have not been  transferred to SAP ME.with out these  batches goods receipt in ERP while backflush is failed. How SAP ME can handl

  • Upgrading 3400 to OS 8.6

    Hi guys, This discussion group is too much! I can't believe you're all still using these dinosaurs. Fantastik! I have a 3400c-240 that I'd like to use to run SuperCard 4.6 projects. I can develop projects on my iMac, but I'd like to run them on the 3

  • How do I get my external harddrive (NTFS) to work on Mavericks?

    Since I upgraded to Mavericks, I cannot get my external harddrive to work on my laptop. I removed MacFuse and NTFS-3G from System Preferences but the problem is still there i.e. the harddrive content remains read-only. What do I need to do to get the

  • CS4 won't open CR2

    I cannot get Photoshop CS4 Extended to open raw CR2 files from my Canon 5D MkIII. Adobe Bridge will not open a thumbnail, either. The same files open fine in Lightroom 5.6. I am working with Windows 7 Pro and Intel Core i7 on a Dell Vostro.

  • Client copy cancelled in postprocessing phase

    Dear experts, could you please suggest me: I've copied client from QAS system to DEV system with SAP_ALL profile. All tables were imported successfully. But during postprocessing phase process was cancelled due to rdisp/max_wprun_time. Program SBDLS3