Coder Social home page Coder Social logo

plants_vs_zombies's Introduction

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 模块

plants_vs_zombies's People

Watchers

Yuanzhi Li avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.