I hereby claim:
- I am kripet on github.
- I am marzipanwhale (https://keybase.io/marzipanwhale) on keybase.
- I have a public key ASALjMBoBdzKvGSPOpalF4qWZrDIjQj_BHkRZxemgT1dOQo
To claim this, I am signing this object:
/* | |
* Two ways of solving this problem: | |
* | |
* MyClass1 has constructor with all required properties. All optional properties are given public init or set accessors. | |
* Pro: | |
* - Small constructor | |
* | |
* Con: | |
* - Slightly messier creation of instance | |
* - Optional properties will not be set at the end of the constructor, so you can't call code that relies on optional properties there. |
from functools import lru_cache | |
from collections import Counter | |
class BoardState: | |
def __init__(self, dimension, edges, parent=None, label=None, player1=None): | |
self.label = label | |
self.dimension = dimension | |
if parent is None: | |
self.turn = 0 |
I hereby claim:
To claim this, I am signing this object:
Unhandled Exception | |
Code: 0xC0000005 | |
Call stack info: | |
0x64616F4C : ? | |
Dolphin!0x008AF180 : ? | |
Unhandled Exception | |
Code: 0xC0000005 | |
Call stack info: |