原文:[2021-Fall]Project3. Ants vs. Bees of CS61A of UCB

Intro 前两个项目还算简单, 比较不复杂. 但是今天这个第三个项目难度确实是上升了 看游戏规则就知道这个有多复杂了 . 感觉像是植物大战僵尸 所以我打算为他写一篇博客来整理一下写代码时候的思路. 话不多说, 让我们进入正题吧 Phase : Basic gameplay Problem pt Part A: Currently, there is no cost for placing any ...

2022-03-12 14:12 6 7089 推荐指数:

查看详情

[2021-Fall] Lab07 of CS61A of UCB

Accounts Q2: Retirement Add a time_to_retire method to the Account class. This method takes i ...

Fri Feb 25 00:09:00 CST 2022 0 675
[2021-Fall] Lab10 of CS61A of UCB

Q2: Over or Under Define a procedure over-or-under which takes in a number num1 and a number num ...

Sun Feb 27 20:52:00 CST 2022 3 1018
[2021-Fall] Hw06 of CS61A of UCB

OOP Q1: Vending Machine In this question you'll create a vending machine that only outputs a ...

Sun Feb 27 23:54:00 CST 2022 0 1295
[2021-Fall] Hw05 of CS61A of UCB

Q1: Generate Permutations Given a sequence of unique elements, a permutation of the sequence is ...

Thu Feb 24 08:00:00 CST 2022 0 3030
[2021-Fall] Hw10 of CS61A of UCB

BNF Q1: Grouping and Pipes In this question, you will add support for grouping and piping. ...

Thu Mar 03 05:12:00 CST 2022 0 1125
[2021-Fall] Lab05 of CS61A of UCB

Lists Q1: Factors List Write factors_list, which takes a number n and returns a list of its f ...

Sun Feb 20 01:11:00 CST 2022 0 1141
[2021-Fall] Hw04 of CS61A of UCB

Mobiles Q2: Weights Implement the planet data abstraction by completing the planet constructo ...

Sun Feb 20 23:18:00 CST 2022 0 1690
[2021-Fall] Lab06 of CS61A of UCB

Mutability Write a function which takes in a list lst, an argument entry, and another argument ...

Mon Feb 21 08:35:00 CST 2022 0 1376
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM