I'm trying to write a game program and have problems.?
91125
You'll never get a truly random number from a computer, because everything in computers is generated by an algorithm. Pseudorandom numbers are, however, for all intents and purposes, random. For info on how to do what you are asking about, see this article: http://cplus.about.com/od/advancedtutorials/l/aa041303a.htm
1014620
Check for newer version or updates. Also check the system requirements for the program.\n\nHope this helps.\n\nGood Luck.
212031
Well, the question doesn't have all the required details, but why not:\n- make sure that you ar eusing the correct type of vaiable (string/number/etc)\n- make a simple if statement that says, IF the number of tries is less than 10 then continue (where number of tries is lets say "x")\nOnce an answer is chosen, if the answer is corret, then thats it, ELSE, if x < 10 then x = x + 1 \n(this makes sure that x is less than 10...and adds 1)\nIF x = 10 THEN MsgBox "HARD LUCK" (like that, if the previous number was 9, by adding 1 it became 10...this line finishes the game up)\n\nAt the end, make sur eto reset the value of "x"\nx = 0
1003800
check to see if your game needs a "patch".  I'm not sure who put the game out, but if you go to their website, your game may need a patch.  Good luck.  Nothing more frustrating than having a computer game you can't play.
491475
Have your seen the "Game Programming Beginners Guide" http://www.gamedev.net/reference/programming/features/davegpg/\nI not used this class library, but you should look for a \ngame class library. \nTheatrix: A C++ Game Class Library\nhttp://www.ddj.com/184409695
1056055
1) You should try making a flow-chart to see the issues here...\n\n2) Your comparison:  if %1==%1 (and also for %2) will ALWAYS BE TRUE and will never get to parts of your code!
916516
Pc is not compatable to the game site. Your pc does not have the proper drivers, hard drive space, mem, etc...
255332
if it is an installed game try installing it again, and if that doesn't work contact the help people from the game's manufactures.
362635
Try using java 2D API, all depends on your java skills.. this does not sound like something that is best done in java. Flash would be better suited and simpler and faster to implement.\n\nbut try the link below, see if its at your level.
783624
i had ta download some java thing before mine would work...look into that...
1129163
You gotta write the name of the game man. Then may be i can help otherwise.......\n\n\nWell u can mail me the name of the game with details of your probem.\n\n\nNeo
1077993
You need to make sure you have JAVA enabled.\n\n\nTo enable your JAVA, you need to go to Tools then Internet Options on your IE Browser menu on top.\nGo to advanced and then scroll down and look for JAVA and check all the boxes. \nThen go to the Security Tab and click on Custom Level and enable Java script.\nIf you need a JAVA runtime program to play games, download it at http://www.java.com/en/download/manual.jsp\nRestart browser.\n\nYou have to install runtime java to get applets to work correctly. Another reason why it might freeze is because java applets use a tremendous amount of memory so you might not have much memory. There might be also the case where yahoo games is just not working correctly. you might want to try again a little later.
876402
try this http://www.gamedev.net/reference/list.asp?categoryid=82
44673
Your program ran into code it couldn't execute or data it couldn't address.\n\nIf you wrote the code, look for things like uninitialized pointers, overwritten data structures, and anything else that could corrupt your code or data.
922195
Either the crack of the game is buggy OR it might have referred to your VGA driver.\nTry to reinstall, that also.\n(With a better one if possible.)
72080
does this only happen with a specific game, or all of them?\nyou could try to reinstall your java applet, that could help.
419325
Uninstall and reinstall the programme.\n\nMine is fine.