Last active
June 23, 2020 02:58
-
-
Save andremw/867b6c3e9513733f83f326b7cf4fb2d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace GameEngine.Common | |
open System | |
// SimpleTypes | |
type String35 = private String35 of string | |
type PersonName = PersonName of String35 | |
type GameId = GameId of int | |
// CompoundTypes | |
type JoinGameRequest = { | |
PersonName: PersonName | |
GameId: GameId | |
} | |
type PlayerJoinedGame = { | |
PlayerName: PlayerName | |
GameId: GameId | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment