Skip to content

Jgilhuly/example_roulette

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example_roulette

Program to refactor that plays a game of roulette

Discussion:

Added Bet heirarchy. Then changed the Game class by removing the betIsMade() method and simplifying the play() method. Lastly we changed the Gambler class to deal with its own money after the game is played. We discussed this last change, as we were slightly against adding code to the Gambler, however, we decided it kept the code much cleaner.

By Eric Saba (ets18) and John Gilhuly (jrg37)

About

Program to refactor that plays a game of roulette

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%