EcoInfo

class EcoInfo

A container class representing the information about a chess opening based on the Encyclopedia of Chess Openings (ECO). It is immutable.

This is a facade created to enable exporting the code to JS, though it can also be used directly within the JS modules of any KMP project.

Properties

Link copied to clipboard
val eco: String

The ECO code (e.g., "E57", "B40").

Link copied to clipboard

The name of the opening or variation (e.g., "Nimzo-Indian, 4.e3 O-O 5.Bd3 d5 6.Nf3 c5").