xpogosteve / VirtualBarstool

Project for Software Engineering. Update with more info later
0 stars 0 forks source link

Game Rules #95

Open xpogosteve opened 5 years ago

xpogosteve commented 5 years ago

As a player, I want to be able to play a game of billiards without really having to enforce the rules on my own, the game should have basic functionality that enforces some of the rules of Billiards for me.

Acceptance Tests: -To sink a ball, walk over to the table and while holding the controller and when the ball glows yellow, and hold the trigger on the controller. Once holding the ball, let go of the trigger when holding the ball over any of the pockets on the pool table. -Upon loading into the bar, the score board should be visible if you look next to the fireplace -Upon loading into the bar, sinking a ball in any of the pockets will delete the ball and update the score on the scoreboard -If the stripe is sunk then the stripe count should decrease by 1 -If a solid is sunk then the solid count should decrease by 1, unless its the 8 ball -If the 8 ball is sunk before all other solids/ or all stripes, the game should end -If the 8 ball is sunk after each other solid ball is sunk, then solid win will display on the scoreboard -if the 8 ball is sunk after each other stripe ball is sunk, then stripe win will display on the scoreboard -if the game is won or lost, the scoreboard will display as such then begin the countdown until the game reset -if the cueball is sunk then it will reset the location of the cueball to its initial spawn location