Oware: Fix reset of level and end game when one player has >= 25 seeds

Authored by dmadaan on Jun 29 2017, 10:14 PM.

Description

Oware: Fix reset of level and end game when one player has >= 25 seeds

Details

Committed
dmadaanJun 29 2017, 10:14 PM
Parents
R2:81968e3c5c12: Fix index in oware
Branches
Unknown
Tags
Unknown
Restricted Application added a subscriber: jjazeix. ยท View Herald TranscriptJun 29 2017, 10:14 PM
jjazeix added inline comments.Jun 30 2017, 8:43 AM
/src/activities/oware/oware.js
67

you don't need to end it, we won't see it I think

225

I would disable click on houses instead of adding a big mouse area

dmadaan added inline comments.Jun 30 2017, 8:55 AM
/src/activities/oware/oware.js
67

If in case the user ends the game in middle and it's the second player chance which was going on so I added it to reset everything to default. Also if the other player wins the game then their is winning cup so on resetting I end it to restart things from default.

225

yes, I thought of the same at first but then do I need to disable it for each index house?