tournament-js / tournament

A tournament base class for static tournament types
MIT License
64 stars 13 forks source link

what is the proper way to reset a tournament? #24

Closed seiyria closed 9 years ago

seiyria commented 9 years ago

I'm thinking I can just wipe state, but I'm not sure if the internals will clean that up properly.

clux commented 9 years ago

You are just meant to create a new one with the same constructor parameters. If you want to restore a saved one you can use restore using the state

seiyria commented 9 years ago

Sure, that also makes sense. Thanks!