Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casino project submission - Starling #43

Open
wants to merge 178 commits into
base: master
Choose a base branch
from

Conversation

tnguyen1912
Copy link

No description provided.

Nick and others added 30 commits July 12, 2021 21:47
completed Dice class and tests
Added stuff to GameInterface
Reforming card class/BlackJack
Nick and others added 30 commits July 15, 2021 13:10
* CSV loader and saver workinggit add -u

* csv changed, committing to clean branch

Co-authored-by: Zach <[email protected]>
(feat:black-jack) ANSI example on BlackJackGame lines 32 to 40
…6 console.print calls, now the print call is called once and passed the string, allowing for test coverage (#65)

Co-authored-by: Zach <[email protected]>
(feat:black-jack) BlackJack fully developed(need more test coverage), maybe polish
* Abstracted printBeetle method to return an output string, instead of 6 console.print calls, now the print call is called once and passed the string, allowing for test coverage

* 67% line coverage testing for BeetleGame.java, continuing in future commits

Co-authored-by: Zach <[email protected]>
Current Functioning Casino Build
* added the calculatewinnings in KenoGame.java

* updated calculatewinnings in kenogame

* 100% method/line coverage in tests on BeetlePlayer, updated to get increased coverage on BeetleGame class (#73)

Co-authored-by: Zach <[email protected]>

* (feat:black-jack) generating tests

* CSVUtils Tests completed

* Began CasinoAcountManager tests

* 100% testing on CasinoAccountManager class, for methods and lines (#76)

Co-authored-by: Zach <[email protected]>

* DiceTest fixed

* Made new tests for player class

* Keno player test filled

* PlinkoPlayerTest full method and line coverage (#78)

Co-authored-by: Zach <[email protected]>

* added tests for player classes

* pushing for test coverage

* Player class full method and line coverage in tests (#81)

Co-authored-by: Zach <[email protected]>

* Feature/player tests (#82)

* Player class full method and line coverage in tests

* BlackJack.java 100% covered lines and methods

Co-authored-by: Zach <[email protected]>

* NumberGuessGameTest done

* Added tests for BlackJackGame and added setter for game instance on class (#84)

Co-authored-by: Zach <[email protected]>

* attempted to troubleshoot Plinko

* changed casino to accept numbers

* Peformed as many BlackJackGame tests as feasible with current setup

* Refined Card Class

* slots run with hidden bug

* Fixed merging error with BugFix to Beetle (no pun intended)

* csv change unstaged

* Overnight fix where Beetle was no longer paying out upon winning (#91)

Co-authored-by: Zach <[email protected]>

* add this quick

* prepull

* Added wait feature to console that will allow for the console to pause a specified amount of time (#93)

Co-authored-by: Zach <[email protected]>

* Feature/console wait (#94)

* Added wait feature to console that will allow for the console to pause a specified amount of time

* leaving branch, added class Scoreboard, no code on it at this point. Switching to new branch after commit

Co-authored-by: Zach <[email protected]>

* (feat:redux-plinko) base functionality completed - pre output abstraction

* Feature/scoreboard (#95)

* Added wait feature to console that will allow for the console to pause a specified amount of time

* leaving branch, added class Scoreboard, no code on it at this point. Switching to new branch after commit

* Added Scoreboard, GameScoreboard and GameScoreboardInterface, 100% lines and methods tested

Co-authored-by: Zach <[email protected]>

* (feat:redux-plinko) game func completed, tests completed

* Added KenoGameRE

* Feature/score print (#97)

* Added wait feature to console that will allow for the console to pause a specified amount of time

* leaving branch, added class Scoreboard, no code on it at this point. Switching to new branch after commit

* Added Scoreboard, GameScoreboard and GameScoreboardInterface, 100% lines and methods tested

* Created CSVArray function on scoreboard to allow for all values in scoreboard to be saved and loaded through the regular account save/load functions. Added Scoreboard to CasinoAccount

Co-authored-by: Zach <[email protected]>

* Fixed outdated method call in Scoreboard tests (#98)

Co-authored-by: Zach <[email protected]>

* Only 3 left to go

* kenogame finished

* printing format acceptably complete

* Added printouts for scoreboards (#102)

Co-authored-by: Zach <[email protected]>

* (feat:redux-plinko) implemented new games into engine

* added wait time

* altered contents of package

* Fixed error in a beetleTest

* Fixed error in DiceTest where max dice roll bin was not being accounted for. Occasionally, when the max dice roll was generated, this test would fail as it was not checking the final index of the bins

* Added option to display scoreboard from main menu drive (#106)

Co-authored-by: Zach <[email protected]>

* Connected Scoreboard to Beetle game, added several tests to increase test coverage of BeetleGame.java, removed duplicate test file for scoreboard (#107)

Co-authored-by: Zach <[email protected]>

* Increased test coverage to 64% by adding small tests for Plinko and Keno (#109)

Co-authored-by: Zach <[email protected]>

Co-authored-by: Dipinti <[email protected]>
Co-authored-by: Dipinti3 <[email protected]>
Co-authored-by: Zach <[email protected]>
Co-authored-by: Nick <[email protected]>
Co-authored-by: NicholasWolak <[email protected]>
Co-authored-by: Nathan <[email protected]>
Co-authored-by: tnguyen1912 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants