litheory / Plants_vs_Zombies

Contrl the plants to shoot zombies!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plants_vs_Zombies(The Shooting Version)

Language and moudle

  • Python 2.7
  • pygame-1.9.2b1-cp27-cp27m-win_amd64

Operation method

  • Press the W, S, A, D or ↑,↓,←,→ to move up, down, left and right
  • Press the left mouse button or SPACE to shoot
  • Press the ENTER to start
  • Press the ESC to quit

Rules

  • There are two versions of zombies
  • Zombie1 is twice the speed of zombie2
  • 50 zombies in total
  • Destroy all zombies to win
  • More than 10 zombies into the base or be hit by zombies to lose

Environment variable

  • Requires a python environment
  • Requires pygame module

植物大战僵尸(射击版)

使用语言及模块

  • Python 2.7
  • pygame模块 1.9.2b1-cp27-cp27m-win_amd64

操作方式

  • W,S,A,D或上下左右移动
  • 鼠标左键或空格键射击
  • Enter键开始游戏
  • ESC键退出游戏

游戏规则

  • 有僵尸1,僵尸2 两种僵尸
  • 僵尸2的移动速度是僵尸1的一半
  • 总共有50只僵尸(可下载源码自行调整)
  • 将僵尸全部消灭判胜利
  • 10只僵尸进入基地或被僵尸碰到判失败

音效

  • 来源:兄贵

注意事项

  • 需要 python 环境
  • 需要 pygame 模块

About

Contrl the plants to shoot zombies!


Languages

Language:Python 100.0%