com.phasmidsoftware.gryphon.games
Members list
Type members
Classlikes
trait Move[Board, Player] extends (Board, Player) => (Board, Player)
Trait to model a move in a game. Normally, a player transfers/receives some sort of token to/from the board, and/or receives/transfers a token back. The net effect of this might be that the token has moved on the board.
Trait to model a move in a game. Normally, a player transfers/receives some sort of token to/from the board, and/or receives/transfers a token back. The net effect of this might be that the token has moved on the board.
Type parameters
- Board
-
the board type.
- Player
-
the player type.
Attributes
- Supertypes
-
trait (Board, Player) => (Board, Player)class Objecttrait Matchableclass Any
Positions class which represents the positions of tokens on a board.
Positions class which represents the positions of tokens on a board.
Type parameters
- Position
-
the position type.
Value parameters
- ps
-
a sequence of Position objects.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SudokuSquareclass TicTacToeSquare
In this article