1. 首页
  2. 数据库
  3. 其它
  4. python编写多人对战小游戏

python编写多人对战小游戏

上传者: 2021-05-01 09:48:13上传 PDF文件 61.51KB 热度 17次
编写小游戏 开发中的类的继承 灵活使用函数和函数的继承以及类class的实例 import time import random class WeGame(object): def __init__(self, username, sex, boold_num=2000, money=800, agg=0, pre=0): self.username = username self.sex = sex self.boold_num = boold_num self.money = money self.ag
用户评论