p
shogi
package shogi
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- shogi
- OrnicarBoolean
- OrnicarOption
- Common
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Board(pieces: PieceMap) extends Product with Serializable
- final case class Centis(centis: Int) extends AnyVal with Ordered[Centis] with Product with Serializable
- final case class Clock(config: Config, color: Color, players: Map[ClockPlayer], timer: Option[Timestamp] = None, timestamper: Timestamper = RealTimestamper) extends Product with Serializable
- final case class ClockPlayer(config: Config, lag: LagTracker, elapsed: Centis = Centis(0), spentPeriods: Int = 0, berserk: Boolean = false, lastMoveTime: Centis = Centis(0)) extends Product with Serializable
- sealed trait Color extends AnyRef
- final case class ConsecutiveAttacks(sente: Int, gote: Int) extends Product with Serializable
- final case class CurrentClockInfo(time: Centis, periods: Int) extends Product with Serializable
- trait DecayingRecorder extends AnyRef
- final case class DecayingStats(mean: Float, deviation: Float, decay: Float) extends DecayingRecorder with Product with Serializable
- type Direction = (Pos) => Option[Pos]
- type Directions = List[Direction]
- sealed trait DividerData extends AnyRef
- final case class Division(middle: Option[Int], end: Option[Int], plies: Int) extends Product with Serializable
- final case class DropActor(color: Color, role: DroppableRole, situation: Situation) extends Product with Serializable
- sealed trait DroppableRole extends Role
- final case class EmptyDecayingStats(deviation: Float, decay: Float) extends DecayingRecorder with Product with Serializable
- final case class File extends AnyVal with Ordered[File] with Product with Serializable
- final case class Found(index: Int) extends DividerData with Product with Serializable
- final case class Game(situation: Situation, usiMoves: Vector[Usi] = Vector.empty, clock: Option[Clock] = None, plies: Int = 0, startedAtPly: Int = 0, startedAtMove: Int = 1) extends Product with Serializable
- final case class Hand(handMap: HandMap) extends AnyVal with Product with Serializable
- type HandMap = Map[DroppableRole, Int]
- final case class Handicap(japanese: String, english: String, sfen: Sfen) extends Product with Serializable
- final case class Hands(sente: Hand, gote: Hand) extends Product with Serializable
- type HandsMap = Map[HandMap]
- final case class History(lastMove: Option[Usi], lastLionCapture: Option[Pos], consecutiveAttacks: ConsecutiveAttacks, positionHashes: PositionHash, initialSfen: Option[Sfen]) extends Product with Serializable
- final case class LagTracker(quotaGain: Centis, quota: Centis, quotaMax: Centis, lagEstimator: DecayingRecorder, uncompStats: Stats = EmptyStats, lagStats: Stats = EmptyStats, compEstSqErr: Int = 0, compEstOvers: Centis = Centis(0), compEstimate: Option[Centis] = None) extends Product with Serializable
- sealed abstract class Mode extends AnyRef
- final case class MoveActor(piece: Piece, pos: Pos, situation: Situation) extends Product with Serializable
- final case class MoveMetrics(clientLag: Option[Centis] = None, clientMoveTime: Option[Centis] = None) extends Product with Serializable
- final case class NotFound(senteInvadersInGotesCamp: Int, goteInvadersInSentesCamp: Int) extends DividerData with Product with Serializable
- final case class Piece(color: Color, role: Role) extends Product with Serializable
- type PieceMap = Map[Pos, Piece]
- final case class Pos extends AnyVal with Product with Serializable
- type PositionHash = Array[Byte]
- final case class Rank extends AnyVal with Ordered[Rank] with Product with Serializable
- final case class Replay(setup: Game, state: Game) extends Product with Serializable
- sealed trait Role extends AnyRef
- final case class Situation(board: Board, hands: Hands, color: Color, history: History, variant: Variant) extends Product with Serializable
- sealed abstract class Speed extends Ordered[Speed]
- final case class StatHolder(samples: Int, mean: Float, sn: Float) extends Stats with Product with Serializable
- Attributes
- protected
- sealed trait Stats extends AnyRef
- sealed abstract class Status extends Ordered[Status]
- final case class Timestamp(value: Long) extends AnyVal with Ordered[Timestamp] with Product with Serializable
- trait Timestamper extends AnyRef
Value Members
- val Gote: shogi.Color.Gote.type
- val Sente: shogi.Color.Sente.type
- implicit final def toOrnicarAddKcombinator[A](any: A): OrnicarAddKcombinator[A]
- Definition Classes
- Common
- implicit def toOrnicarBoolean[A](b: Boolean): OrnicarBooleanWrapper
- Definition Classes
- OrnicarBoolean
- Annotations
- @inline()
- implicit final def toOrnicarIdentity[A](a: A): OrnicarIdentity[A]
- Definition Classes
- Common
- implicit final def toOrnicarMap[A, B](m: Map[A, B]): OrnicarMap[A, B]
- Definition Classes
- Common
- implicit final def toOrnicarOption[A](o: Option[A]): OrnicarOptionWrapper[A]
- Definition Classes
- OrnicarOption
- implicit final def toOrnicarValidated[E, A](a: Validated[E, A]): OrnicarValidated[E, A]
- Definition Classes
- Common
- case object Bishop extends DroppableRole with Product with Serializable
- case object BishopPromoted extends Role with Product with Serializable
- case object Boar extends Role with Product with Serializable
- object Board extends Serializable
- object Centis extends Serializable
- case object Chariot extends Role with Product with Serializable
- object Clock extends Serializable
- object ClockPlayer extends Serializable
- object Color
- object ConsecutiveAttacks extends Serializable
- case object Copper extends Role with Product with Serializable
- object DecayingStats extends Serializable
- object Divider
- object Division extends Serializable
- case object Dragon extends Role with Product with Serializable
- case object DragonPromoted extends Role with Product with Serializable
- object DropActor extends Serializable
- case object Eagle extends Role with Product with Serializable
- case object Elephant extends Role with Product with Serializable
- case object ElephantPromoted extends Role with Product with Serializable
- object EmptyStats extends Stats
- Attributes
- protected
- case object Falcon extends Role with Product with Serializable
- object File extends Serializable
- object Game extends Serializable
- case object GoBetween extends Role with Product with Serializable
- case object Gold extends DroppableRole with Product with Serializable
- object Hand extends Serializable
- object Handicap extends Serializable
- object Hands extends Serializable
- object Hash
- object History extends Serializable
- case object Horse extends Role with Product with Serializable
- case object HorsePromoted extends Role with Product with Serializable
- case object King extends Role with Product with Serializable
- case object Kirin extends Role with Product with Serializable
- case object Knight extends DroppableRole with Product with Serializable
- object LagTracker extends Serializable
- case object Lance extends DroppableRole with Product with Serializable
- case object Leopard extends Role with Product with Serializable
- case object Lion extends Role with Product with Serializable
- case object LionPromoted extends Role with Product with Serializable
- object Mode
- object MoveMetrics extends Serializable
- case object Ox extends Role with Product with Serializable
- case object Pawn extends DroppableRole with Product with Serializable
- case object Phoenix extends Role with Product with Serializable
- object Pos extends Serializable
- case object Prince extends Role with Product with Serializable
- case object PromotedKnight extends Role with Product with Serializable
- case object PromotedLance extends Role with Product with Serializable
- case object PromotedPawn extends Role with Product with Serializable
- case object PromotedSilver extends Role with Product with Serializable
- case object Queen extends Role with Product with Serializable
- case object QueenPromoted extends Role with Product with Serializable
- object Rank extends Serializable
- object Replay extends Serializable
- object Role
- case object Rook extends DroppableRole with Product with Serializable
- case object RookPromoted extends Role with Product with Serializable
- case object SideMover extends Role with Product with Serializable
- case object SideMoverPromoted extends Role with Product with Serializable
- case object Silver extends DroppableRole with Product with Serializable
- object Situation extends Serializable
- object Speed
- case object Stag extends Role with Product with Serializable
- object Stats
- object Status
- case object Tiger extends Role with Product with Serializable
- case object Tokin extends DroppableRole with Product with Serializable
- case object VerticalMover extends Role with Product with Serializable
- case object VerticalMoverPromoted extends Role with Product with Serializable
- case object Whale extends Role with Product with Serializable
- case object WhiteHorse extends Role with Product with Serializable