Giter VIP home page Giter VIP logo

pvz_game_by_easyx's Introduction

普通大学生大战网课平台

Powered by GitHub top language GitHub repo size GitHub

简介

  • 本仓库是使用了EasyX图形库的C++仿“植物大战僵尸”小游戏。
  • 是四川大学2021-2022学年张轶老师的研究与开发实践课课程设计。
  • 有三个简单的关卡,循序渐进。
  • 运用了一定程度面向对象的封装方法,便于进一步维护。

运行截图

目录情况

结构

  • 本仓库引用了开源的Json解析库JsonXX,资源保存在json路径下。
  • 所有的逻辑代码均在Plants_VS_Zombie文件夹下,其中还包括一个Python的“关卡生成器”,执行后可以生成某一个关卡的所有数据,会映射到游戏环境中。

代码统计

使用了VScode的VSCodeCounter插件进行代码统计,此工具去除了所有的空行,并标注了注释行,结果如下:

language files code comment blank total 备注
C++ 15 1,837 105 122 2,064 其中500余行来自外部JSON库
XML 1 106 0 0 106 VS的项目组织工具
JSON 3 60 0 0 60 存储关卡信息
Python 1 28 1 3 32 生成关卡信息
Django txt 1 19 0 12 31
Markdown 1 13 0 1 14

统计详情参见

pvz_game_by_easyx's People

Contributors

sunnyhaze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.