Bug 311 - Fail to get reward under a winning condition
Summary: Fail to get reward under a winning condition
Status: RESOLVED FIXED
Alias: None
Product: Slot Machine
Classification: Unclassified
Component: slot machine (show other bugs)
Version: 0.1 alpha
Hardware: PC Mac OS
: High major
Deadline: 2019-11-24
Assignee: stanley.wk.man
URL:
: 310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-23 12:36 HKT by josephccs0917
Modified: 2019-11-24 14:06 HKT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description josephccs0917 2019-11-23 12:36:25 HKT
The machine should show "win" and give reward to me when three same patterns are aligned in the same row. However, when three "bar" are aligned in the middle row, the machine shows "lose" and did not return any reward.
Comment 1 stanley.wk.man 2019-11-24 14:03:39 HKT
Resolved.
The method was missing a .getName() which made it comparing Object with String directly and produced the defect.
Comment 2 stanley.wk.man 2019-11-24 14:05:03 HKT
Resolved.
The method was missing a .getName() which made it comparing Object with String directly and produced the defect.
Comment 3 stanley.wk.man 2019-11-24 14:06:00 HKT
*** Bug 310 has been marked as a duplicate of this bug. ***