Skip to content

kjc-37/example_roulette

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example_roulette

Program to refactor that plays a game of roulette Kelly Cochran (kjc37) and Eric Jiang (elj16)

Refactoring questions

  1. We added the abstract methods betIsMade() and setAndPlaceBet().
  2. We took out the placeBet() and betIsMade() methods from Game to make it's functionality make more sense.
  3. getOdds() and getDescription() are the only methods implemented in Bet. betIsMade() and setAndPlaceBet() are implemented in the subclass.
  4. The myPossibleBets array now contains the different subclasses of Bet.

About

Program to refactor that plays a game of roulette

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%