Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Software Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery registry cleaner router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
No mouse over or else, but why game know what number in my head???

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
chueh's Avatar
Senior Member with 107 posts.
 
Join Date: Sep 2008
03-Jul-2009, 11:06 AM #1
Question No mouse over or else, but why game know what number in my head???
Can anyone explain how this happens about this simple game?

http://www.regiftable.com/RegiftingRobinPopUp.html

The numbers are in my head, and I did not mouse over the number, so how did it happen?

Thanks
burnthepc's Avatar
Computer Specs
Senior Member with 305 posts.
 
Join Date: Aug 2007
Location: London, UK
Experience: Intermediate
03-Jul-2009, 11:43 AM #2
I googled the answer... wish I hadn't. It's not that hard to work out. If you like maths problems give it a try. The link below is a spoiler!

http://www.bored.com/forum/archive/i...hp/t-7601.html

See post of SharinganGuitargod
chueh's Avatar
Senior Member with 107 posts.
 
Join Date: Sep 2008
03-Jul-2009, 12:52 PM #3
Thanks, burnthepc. Well, I know a little about programming. It it were about programming trick, I would probably get it. Now, it's math.... oh No.......
-Fabez-'s Avatar
Senior Member with 1,499 posts.
 
Join Date: Jul 2008
Location: Earth
Experience: Advanced - Einstein
10-Jul-2009, 01:07 PM #4
I made this program below to demonstrate that the answer is always a multiple of nine, meaning that all squares on the grid that are multiples of nine will have the same object in. This enables the program to be right every time.
Code:
#include <iostream>

using namespace std;

int main(){
    int CurrentNumberTens = 1;
    int CurrentNumberUnits = 0;
    int CurrentNumber = 10;
    while (CurrentNumber <= 99){
        cout << "CurrentNumber: " << CurrentNumber << "\tResult: " << (CurrentNumber - (CurrentNumberTens + CurrentNumberUnits ))<< endl;
        CurrentNumberUnits += 1;
        if (CurrentNumberUnits == 10){
            CurrentNumberUnits = 0;
            CurrentNumberTens +=1;
        }
        CurrentNumber = (CurrentNumberTens * 10) + CurrentNumberUnits;
    }
    getchar();
}
chueh's Avatar
Senior Member with 107 posts.
 
Join Date: Sep 2008
10-Jul-2009, 01:20 PM #5
Fabez. You are such a genius.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:58 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.