Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Show Off Your Open Source Projects (http://www.programmingforums.org/forum52.html)
-   -   Something Very Interesting!? (http://www.programmingforums.org/showthread.php?t=12741)

Duck Mar 7th, 2007 7:25 PM

Something Very Interesting!?
 
This is a 2D online-multiplayer pool game, you can also play against the CPU. The first version of this game I wrote about 4 years ago, that first version just alowed you to play against the CPU. About a year ago I decided to make the game playable over the internet. (Its Something I've just done slowly in my spare time, don't want people to think I don't have a life, lol (although my life is pretty crap, lol)).

I also had a money making plan for it; to allow people to play against each other for money, but in the end I decided doing this would be too complicated, too much work, and probably wouldn't make any money in the end anyway, therefore not worth doing. I thought though if I gave the game away for free and it got popular I might be able to make some money by advertising on it, particularly if I ran a games server for people to connect to (as www.litePool.com does). Although I think making any money from it is highly unlikely, and don't worry I have a day job, which I'm quite happy with!!!!!!

Anyway I thought I must give it away cos its a waste of all my effort if I don't. So recently I've submitted to some of those free download sites, like www.freedownloadscenter.com although I haven't had it accepted yet, (maybe it never will be).

Oh yeah, don't worry theres no install required its just .exe files. And theres full instructions.

PS: I can't add the attachment to this post because the file size is too big, therefore you can download it from my website http://www.eksoft.co.uk/resources/ePool.zip

King Mar 7th, 2007 8:44 PM

The game seems to play well. Anyway you could post the code? Also, what technology did you use for the graphics?

Duck Mar 8th, 2007 6:32 AM

Quote:

Originally Posted by King (Post 124922)
The game seems to play well. Anyway you could post the code? Also, what technology did you use for the graphics?

I'm sorry but I'm not going to give all the code away. But should anyone wish, I will answer any questions on how anything is done, and give code snippets to support my answers.

OpenGL is used for the graphics, and DirectSound for the sound.

pegasus001 Mar 8th, 2007 6:35 AM

Just for some feedback why didn`t you add some levels in the part of the CPU, it is pretty strong(or i am pretty bad) :) . By the way nice game.

Duck Mar 8th, 2007 7:39 AM

Quote:

Originally Posted by pegasus001 (Post 124931)
Just for some feedback why didn`t you add some levels in the part of the CPU, it is pretty strong(or i am pretty bad) :) . By the way nice game.

Thanks. The CPU skill level can be selected, if you go to, 'Options -> Preferences' then you can select Low/Medium/High. High is quite strong, I've only beat it a couple of times (I challenge anyone to beat the high skill level).

InfoGeek Mar 8th, 2007 10:25 AM

Quote:

Originally Posted by Duck
I'm sorry but I'm not going to give all the code away....

Then what's the purpose of posting it here. I don't think many people here are interested in playing the game but many may be interested more in viewing the code instead.

EDIT:
Forum Description
Finished Projects
Post your source code or a link to your source for your projects here.

Duck Mar 8th, 2007 11:11 AM

Quote:

Originally Posted by InfoGeek (Post 124949)
Then what's the purpose of posting it here. I don't think many people here are interested in playing the game but many may be interested more in viewing the code instead.

EDIT:
Forum Description
Finished Projects
Post your source code or a link to your source for your projects here.

I won't give away the whole project but as said I will give sections of code away to help people with similar problems that I had to overcome in this project.

When I was doing this project I came across many problems that had me stuck for quite a while, like making the balls rotate, synchronising the game between different PC's (where different floating point libraries may not produce the same results), applying a texture on a spherical object etc etc. Having a project like this in this thread, where the author is prepared to give away code snippnets and explain problem solutions, I think is quite valuable. And if people arent interested in this thread then they don't have to look at it.

DaWei Mar 8th, 2007 11:32 AM

It's educational. Seeing how many people will download and run the .exe, I mean.

Infinite Recursion Mar 8th, 2007 11:45 AM

I agree with DaWei... It is more amusing than educational for me though. No wonder viruses spread as fast as they do. :)

kruptof Mar 8th, 2007 1:17 PM

Quote:

Originally Posted by Infinite Recursion (Post 124958)
I agree with DaWei... It is more amusing than educational for me though. No wonder viruses spread as fast as they do. :)

thats another good reason to post your code along with your application, even though i wouldn't understand the code i would feel more confident downloading your application if the code was available because other people would pick up on something intentially malicious.


All times are GMT -5. The time now is 2:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC