My idea is really simple:

-create a game similar to that of Deer Hunter, except you arent hunting for deer. You are hutning for squirrels. I would like some help with People experianced in C or C++. to script.
<snip>.

Recommended Answers

All 2 Replies

My idea is really simple:
I would like some help with People experianced in C or C++. to script.

C++ and script?? You haven't got a clue what you're talking about right?
Is this some sort of homework assignment?

Don't post your email address here and say "gimme da codez". It violates the rules

Here's a code that will get you started:

#include <cstdlib>
#include <iostream>
#include <ctime>

using std::cout;
using std::cin;
using std::endl;

int main()
{
    char in = 'n';
    while (in == 'n')
    {
        cout << "shoot?(y/n)\n";
        cin >> in;
    }
    srand(time(NULL));
    if (rand()%2)
        cout << "you hit a squirrel!";
    else
      cout << "you didn't hit a squirrel...";
    return 0;
}
commented: Can I borrow that code for my hamster hunting game? +9
commented: can I borrow da code for my Milf hunting game? +14

I think the guy wants something that is 3d, and cool and flashy and stuff...
he thinks it's like copy/paste a code and you'll have a game in less than a few minutes and can start earning cash...
Well, leme tell you: It is NOT.
You'll be spending lots of time in only learning console programs in C++.
I really hate it when people think making games is easy, because it doesn't show respect for people that actually DO.

So to add something usefull to this topic:
Learn C++, make a start, get specific problems/quesions and then ask your questions.
Not like, "hey man, make a game for me, will ya?"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.