473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Bee Hunt

I want to create a game where by you dispaly a moving bee and you use a mouse cursor to hit the moving image and the program must display the number of appearences, misses, hits. Thanks
Sep 4 '07 #1
3 1464
sicarie
4,677 Expert Mod 4TB
Okay, what do you have so far?
Sep 4 '07 #2
I'll assume your just beginning to learn C/C++ and are sick of reading nothing but DOS-style beginner's examples or incredibly advanced and complex 3D games code.

For a graphical game of course you'll have to move beyond the console, and this depends a lot on your OS. I'll thus make another assumption that you're using Windows.

Your starting point would be to search Google for a 'Windows API C++ Tutorial' - there are many. Microsoft also provides examples at http://msdn2.microsoft.com/en-us/library/aa383749.aspx (you'll want to go to the User Interface / Window Classes section).

If you want multi-OS support then Google 'wxWidgets' - but I'd get used programming one OS first!
Sep 5 '07 #3
weaknessforcats
9,208 Expert Mod 8TB
Yes. This is a variation of Snoopy and The Red Baron.

The Red Baron is a xxx on the screen moving in an oval.

You use the arrow keys to move a + sign.

When the + hits the xxx, you display POW!!! and the game resets.
Sep 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Andrew | last post by:
I need a java english dictionary api, and it needs the following features, in order of importance: To verify given words (duh). To select a random word based on length. To rearrange a...
5
by: CMAR | last post by:
I have been having a problem styling a page, which you can see live at my test site: Designer Page (http://home.ne.rr.com/thespar/) (Ignore the missing pictures, which have not been uploaded.)...
7
by: jimspace | last post by:
Can someone look at each of the classes below and tell me where the subtle bugs are? Thanks. Handle/Body idiom class A { private: int i; public:
17
by: VM | last post by:
In my Windows app, I'm running a batch process that's composed of a FOR loop that'll run 15,000 times (datatable row count), copy cthe data of each row -3 fields- to a struct, and send the strct to...
1
by: Bill | last post by:
Hi all, I've got my self a bug that I am out of ideas on how to fix... A section of my program launches a thread to handle a FIFO work buffer, I make the fifo as a single link list, the head...
2
by: spenn | last post by:
I'm VERY new to VB and have an assignment that seems to jump from simple to complex in one leap. The assignment goes like this: access multiple files, search for a specific string, extract the...
1
by: yuki | last post by:
i'm trying to write the hunt the wumpus game with simple conditions: (check-marked the ones i already accomplished) the pits will be placed randomly the wumpus is placed in the maze randomly (not...
10
by: sugumar.chat | last post by:
hi..everybody. currently one of our client COVANSYS-CSC Company is looking for C++ team & tech lead ...by the way job location is in chennai..if interested with this opening send your updated...
4
by: Noah Roberts | last post by:
Is there anything that will hunt down c-style casts and replace them with the appropriate new-style cast?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.