Bitboard

class Bitboard

This class represents a bitboard.

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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
infix fun and(other: Bitboard): Bitboard
Link copied to clipboard
fun inv(): Bitboard
Link copied to clipboard
Link copied to clipboard
infix fun or(other: Bitboard): Bitboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
infix fun shl(i: Int): Bitboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
infix fun ushr(i: Int): Bitboard
Link copied to clipboard
infix fun xor(other: Bitboard): Bitboard