Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
umm... why am i asked to put a boolean true or false into a unsigned long long vector
i thought that isn't allowed ???
my codes instantly worked after moving the global variables into the class under public:
As far as I see, every tests gets its own instance of
SnakesLadders
, so there should be no need to reset anything. It is difficult to say what is wrong with your solution without seeing your code, but maybe you are using some global or static data instead of instance fields?my code written in C++
the stored player positions is not reset after the example tests and is carried on to the random tests, and that is causing errors
since the game hasnt ended in example tests, i can't reset the game before the random tests begin
anyone has any idea on how to make this work