# uno **Repository Path**: roger2015/uno ## Basic Information - **Project Name**: uno - **Description**: Golang cards game interface about uno and other games like uno. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 9 - **Created**: 2016-04-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # uno Golang cards game interface about uno and other games like uno. 基于go语言的纸牌游戏通用接口,以uno为例。 ## V 1.0 ## Interface context: The game context,control the game and turn logic. 游戏上下文 控制游戏逻辑和回合流转 user: The users info and status. 玩家信息与状态 desk: All the cards. 牌堆 card: Card type. 卡牌 ## Base Struct BaseContext BaseUser BaseDesk BaseCard Base structs implement the base functions of their Interface.We can also write or rewrite our own logic and functions in our own Structs. 基础类实现了以上接口的基础方法,我们也在我们自己的类里新的方法或重写已有方法以实现新的功能与逻辑。 ## Example See the uno example code : uno/example/main.go 以上Uno纸牌游戏例子 See the Black Jack 21 example code : uno/example/main21.go 以上21点游戏例子