Ship Simulator
English forum => Small talk => Topic started by: Graeme Heddle on February 20, 2009, 10:28:49
-
Does anyone have a code for a 'guess the number' game for Visual Basic 2005, I'm needing it for my computing class ASAP. :)
-
you could try 42 ........ its the answer to everything
-
What are you after, exactly? Do you mean you want to know how to use the rnd function?
Google is your friend...
-
you could try 42 ........ its the answer to everything
Is that the best you can do after 7 ½ million years?
-
I think some Deep Thought is required to learn something like that. Terry how long did it take you to learn machine code, if you don't mind me asking?
-
Terry how long did it take you to learn machine code, if you don't mind me asking?
0010011100111000
or possibly
FF01
AC16
6000
BBA3
Actually, when I first started it was with ALGOL 60, which is only a step above Machine Code. A few years later, when microprocessors first came out, they were just 4-bit devices, rather like the RISC PICs of today only more primitive. The only way to communicate with them was to blow EPROMS and talk using Machine Code.
Back then, there was only Machine Code. I upgraded to 8086 and Z80 programming eventually, and moved into the current WinTel stuff.
-
No, I mean a program to run a 'guess the number' game.
-
As it's for your classwork, I won't do your homework for you.
Otherwise, you'll never learn for yourself, surely?
-
No, my teacher said we had to try and find a program on the internet and I just don't have the time to spend hours looking for one, I was just wondering if anyone on here knew one.
-
I just typed
"VB random numbers"
into Google and the very first one looked ideal. Surely you can do that?
-
Ok i'll try that thanks. :thumbs: