Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages