You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment it's possible to call put() multiple times at the same vertex. Also, it's possible to call data() even if put() was never called for a given vertex. Let's fix this by introducing the following rules:
Until put() is called for a vertex, all data() calls return Err
It's only possible to call put() once, the second call leads to Err
Calling put(Hex::empty()) makes the vertex "full" (see Sodg::full() #61)
It seems that we should introduce a new boolean flag for a Vertex.
The text was updated successfully, but these errors were encountered:
At the moment it's possible to call
put()
multiple times at the same vertex. Also, it's possible to calldata()
even ifput()
was never called for a given vertex. Let's fix this by introducing the following rules:put()
is called for a vertex, alldata()
calls returnErr
put()
once, the second call leads toErr
put(Hex::empty())
makes the vertex "full" (see Sodg::full() #61)It seems that we should introduce a new boolean flag for a
Vertex
.The text was updated successfully, but these errors were encountered: