Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reformatted events to single line
Removed stray junk
  • Loading branch information
bartelink committed Aug 15, 2014
commit d4be060d6aeb1a3065052a2c367e2dc6f85f0c3d
35 changes: 5 additions & 30 deletions FsUno.Domain/Deck.fs
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,8 @@ type Direction =

type GameId = GameId of int

type GameStartedEvent = {
GameId: GameId
PlayerCount: int
FirstCard: Card
FirstPlayer: int }

type CardPlayed = {
GameId: GameId
Player: int
Card: Card }

type CardPlayedEvent = {
GameId: GameId
Player: int
Card: Card
NextPlayer: int }

type PlayerPlayedAtWrongTurnEvent = {
GameId: GameId
Player: int
Card: Card }

type PlayerPlayedWrongCardEvent = {
GameId: GameId
Player: int
Card: Card }

type DirectionChangedEvent = {
GameId: GameId
Direction: Direction }
type GameStartedEvent = { GameId: GameId; PlayerCount: int; FirstCard: Card; FirstPlayer: int }
type CardPlayedEvent = { GameId: GameId; Player: int; Card: Card; NextPlayer: int }
type PlayerPlayedAtWrongTurnEvent = { GameId: GameId; Player: int; Card: Card }
type PlayerPlayedWrongCardEvent = { GameId: GameId; Player: int; Card: Card }
type DirectionChangedEvent = { GameId: GameId; Direction: Direction }