[Resolved] VB6 expert needed who has patience and can play pool...
Hi all, i have been working on a snooker game for quite some time, but then decided i wanted to convert it into a general pool game with the local rules for where i live which include:
(i cant remember the name of this particular game, so i'll just list ALL the rules included.. which are used in the game)
----------
ball 1 - 7 are 'solid'
8 is black
9 - 15 are 'stripe'
first person to sink a ball takes that type (stripe/solid), other player takes remaining type.
both players must hit their own ball first and may only sink their own ball
a player may sink the black after all of their own type has been sunk
all fouls result in the other player receiving 2 shots
fouls are:
hit ball other than their own first,
sink ball other than their own
sink cue ball (other player has free placement for their next go)
sinking the black before the player is supposed to results in instant loss of game.
----------
They are all the rules that i have implemented into my pool game, however..
there are still a few bugs for which i could not figure out
hitting the black first no longer results in a foul, even though the code is there
when the player IS on the black and it is sunk, occasionally it is considered a foul instead of a win
very occasionally there is a foul when the player breaks at the start of the game, i presume this could be that the cue ball continues through the first row and hits the black before the collision detector sees it..
The rest of the game SEEMS to be working fine
also considering it used to be snooker, there will be a bit of code commented out here and there as well as an unused function or two.. but i wanted to get the game working before i cleaned it up.
there are comments all the way through the code instructing what each section is used for, or at least there should be
runs with 3d hardware acceleration and directX 8, hardware acceleration can be turned off in the general game code
made with a screen resolution of 1280x800 and 1.5Ghz Processor and 1GB RAM.. it will run on other machines but its untested so i am unsure of the results..
sorry to have given so much reading but all those details are necessary to understand what i was trying to do
more instructions (this time the game controls) are in the readme.txt file
ANY help and suggestions what so ever will be much appreciated
I will be back in about 10 hours or so as its currently late and i need sleep
I cannot attach the project as its 550kb and the limit is 500, so heres a link to an alternative download location on my website:
http://www.freewebs.com/dcypher_03/PoolVBFiles.zip
Re: VB6 expert needed who has patience and can play pool...
Quote:
Originally Posted by DragonCypher
----------
ball 1 - 7 are 'solid'
8 is black
9 - 15 are 'stripe'
first person to sink a ball takes that type (stripe/solid), other player takes remaining type.
both players must hit their own ball first and may only sink their own ball
a player may sink the black after all of their own type has been sunk
all fouls result in the other player receiving 2 shots
fouls are:
hit ball other than their own first,
sink ball other than their own
sink cue ball (other player has free placement for their next go)
sinking the black before the player is supposed to results in instant loss of game.
----------
Sounds like Classic 8 Ball to me. 9 Ball would be where you only use the first 9 balls--arranged like a diamond instead of a triangle--and sink them in order from 1 to 9 (Gross over-simplification of the rules)
I'll have to review the project before I can comment on the rest of this post.
Re: [Resolved] VB6 expert needed who has patience and can play pool...
I just spent another hour or two going over everything piece by piece and it has now been fixed..
all the rules are working correctly, there is still the occasionally mishap but overall i'm happy