zond / godip

A dippy adjudicator in Go.
GNU General Public License v3.0
27 stars 22 forks source link

Difference between Dislodgeds and Dislodgers #111

Closed Wulfheart closed 3 years ago

Wulfheart commented 3 years ago

POST http://godip-adjudication.appspot.com/{variant name} returns two keys which are unclear to me. Even after looking up the godoc. What is the difference between Dislodgeds and Dislodgers?

zond commented 3 years ago

When a unit dislodges another unit, it is a dislodger. When a unit gets dislodged by another unit, it is a dislodged unit. Does that explanation make sense? :)

Wulfheart commented 3 years ago

Yes thanks. However what could the info that a unit is dislodging another unit be used as?

zond commented 3 years ago

When rendering them, maybe? This is just a library, what you use the results for is up to you :)