欢迎来到亿方游乐场
billionfong的Python项目详细描述
简介
这是一个由Billy Fong创建的包。
该软件包的目标是创建24个比利(但只有4个创建),以及一些用于消磨时间的小游戏。
十亿方
这是大师级的亿万方,有以下几点:
Subclass: | Child, IT Dog, Musician, Narcissist |
---|---|
Methods: | create(personality = PERSONALITY), play(game = GAME), shout(), love() |
游戏
现在有两个游戏。
Bingo: | Guess number between 1 to 100 |
---|---|
Mastermind: | Guess 4 numbers between 1-6 with exact order. |
示例
import billionfong billy = billionfong.create(personality = "narcissist") billy.love() billy.shout() billy.play(game = "mastermind")