rolandweber / Pityoulish

A collection of programming/debugging exercises to support a course on Distributed Systems.
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Restrict ticket replacements #27

Open rolandweber opened 8 years ago

rolandweber commented 8 years ago

Restrict how often a ticket may be replaced. For example, allow two replacements but deny the third. Returning the ticket and obtaining a new one with separate requests should still be possible. Replacing the newly obtained ticket should also be possible again.

There's no particular reason for this. It's just a bit of fun programming to introduce another error situation that students may encounter.