Java教程

[2021 Spring] CS61A Project 3: Ants Vs. SomeBees 效果展示

本文主要是介绍[2021 Spring] CS61A Project 3: Ants Vs. SomeBees 效果展示,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

项目说明:https://inst.eecs.berkeley.edu/~cs61a/sp21/proj/ants/
蚂蚁大战蜜蜂 灵感来源:植物大战僵尸(Plants Vs. Zombies,PVZ)
Phase 1: https://www.cnblogs.com/ikventure/p/14986805.html
Phase 2: https://www.cnblogs.com/ikventure/p/14988467.html
Phase 3: https://www.cnblogs.com/ikventure/p/14992754.html
Phase 4: https://www.cnblogs.com/ikventure/p/14994734.html

游戏开始

游戏中

游戏结束

蚂蚁胜利

蜜蜂胜利

相关指令

PS D:\python\cs61a\projects\ants> python ants_text.py --help
usage: ants_text.py [-h] [-d DIFFICULTY] [-w] [--food FOOD]

Play Ants vs. SomeBees

optional arguments:
-h, --help show this help message and exit
-d DIFFICULTY sets difficulty of game (test/easy/normal/hard/extra-hard)
-w, --water loads a full layout with water
--food FOOD number of food to start with when testing

这篇关于[2021 Spring] CS61A Project 3: Ants Vs. SomeBees 效果展示的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!