ludo-game icon indicating copy to clipboard operation
ludo-game copied to clipboard

Seed should not go home(from opponent reset) when there are die results left to count.

Open chukwumaijem opened this issue 5 years ago • 6 comments

Premise

When a seed's count stops on a cell occupied by a seed from another house. the seed already there is booted away and the new seed is marked done.

Problem

The exception to the rule above is when there's no other way for the moving seed to complete it's remaining count.

Example: blue throws a 3 and a 3. When counting one 3, it stops on a cell occupied by another seed and boots the seed out. This would be okay if there's another blue seed outside to count the remaining 3. Since there's no other seed, the blue seed should not be marked done, and not boot another seed out.

bug_incomplete_count

chukwumaijem avatar May 13 '19 23:05 chukwumaijem

Hi, I'd like to know if this project is an open source project, I basically want to make use of the code logic, Also I could actually attempt to fix any bug I encounter and share the fix with you.

zico4reel avatar May 04 '20 14:05 zico4reel

Hey @zico4reel , yes. it's totally FOSS.

chukwumaijem avatar May 04 '20 17:05 chukwumaijem

Great, Thanks @chukwumaijem

zico4reel avatar May 04 '20 18:05 zico4reel

Hi, I'd like to know if this project is an open source project, I basically want to make use of the code logic, Also I could actually attempt to fix any bug I encounter and share the fix with you.

What part of logic did you needed? I have implemented Ludo in C++, and has lots of features, maybe that code help for logic part, in case you are new to JS.

adi-g15 avatar Jul 25 '20 14:07 adi-g15

@chukwumaijem I will also try to look into this bug. By the way, the app is very good :D

adi-g15 avatar Jul 25 '20 14:07 adi-g15

Hi, I'd like to know if this project is an open source project, I basically want to make use of the code logic, Also I could actually attempt to fix any bug I encounter and share the fix with you.

What part of logic did you needed? I have implemented Ludo in C++, and has lots of features, maybe that code help for logic part, in case you are new to JS.

HI,Thanks. The project I was working on at the time, is a bit on hold, due to certain things. But we will appreciate your help in the bug as well, thanks.

zico4reel avatar Sep 04 '20 17:09 zico4reel