资源列表
[其他游戏] Penalties-game
说明:先说一下方向的设定。我的想法比较简单,就是左中右三个方向,用字符串来表示。射门或者扑救的时候,直接输入方向。所以这里我准备用raw_input。有同学是用1-8的数字来表示八个方向,每次输入一个数字,这也是可以的。不过这样守门员要扑住的概率可就小多了。 至于电脑随机挑选方向,如果你是用数字表示,就用我们之前讲过的randint来随机就行。不过我这次打算用random的另一个方法:choice。它的作用是从一个list中随机挑选一个元素。 -Let me talk about set<Lily> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他游戏] xingmingayuanfen
说明:一个C语言编写的小游戏,输入姓名,可以查阅两个人的缘分-A C language gameEnter the name, may refer to the two person s fate<sherry> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[游戏] GuessNumber
说明:设计一款简易的猜数字游戏。该游戏可以由程序随机产生四个0到9之间的整数,且不重复。玩游戏者通过由用户输入四个数字来匹配上面所产生的数字。A表示位置正确且数字正确,B表示数字正确而位置不正确。-Design a simple guessing game. The game can be randomly generated by the program four numbers between 0-9, will not be repeated. Game player through four<cht> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他游戏] pig.py
说明:酒吧游戏 粉猪。通过掷筛子随机生成点数,每人的每轮中可以根据目前点数选择继续或退出。如果当轮掷到1,则本轮清零。-Bar games- pink pig. Randomly generated points by throwing a sieve, per person based on the current number of points in each round can choose to continue or exit. If and when the wheel throwing<陈思> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[外挂编程] anjian_read_file
说明:按键精灵读取TXT文件,按行打散到数组。并遍历数组实例。-anjian read txt file to array.<tenfei4> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[其他游戏] score-explosion
说明:用pygame编写的小程序,将小球弹入球门即可得分。-With pygame prepared by the small program, the ball into the goal to score.<姜尔赤> 在 2025-06-14 上传 | 大小:1kb | 下载:0