Ticket #56 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

roulette needs some adjustments

Reported by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Assigned to: giblet
Priority: normal Milestone:
Component: misc Version:
Severity: normal Keywords:
Cc:

Description

Three adjustments, namely:

  1. a person shouldn't be allowed to shoot twice in a row
  2. there should be a (low) chance of there being no round at all loaded
  3. it should be possible to 'spin' the wheel (which isn't the same thing as reloading when all the rounds can be empty.

Attachments

roulette.rb.diff (1.0 kB) - added by broderson@gmail.com on 02/07/06 22:51:10.
adds a 'spin' which keeps game going but moves where bullet is. auto spins on 5th round w/o a kill

Change History

02/07/06 22:51:10 changed by broderson@gmail.com

  • attachment roulette.rb.diff added.

adds a 'spin' which keeps game going but moves where bullet is. auto spins on 5th round w/o a kill

02/07/06 22:55:47 changed by broderson@gmail.com

  • type changed from defect to enhancement.

attached above is a diff file for adding a 'spin' method. when on 5th round w/o a kill it spins the cylinder to avoid the 'sure kill on next round' situation. doesn't reset who is playing though.

not sure what the point of a 'no round' game would be so I didn't add that. I've seen people play a game of roulette with themselves and have a lot of fun so I've avoided the avoid two in a row feature also.

10/23/06 16:26:50 changed by giuseppe.bilotta

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for the patch. Implemented with slight changes in [528]