You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/translations/tw/6-space-game/6-end-condition/assignment.md

31 lines
1.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--
CO_OP_TRANSLATOR_METADATA:
{
"original_hash": "24201cf428c7edba1ccec2a78a0dd8f8",
"translation_date": "2025-08-23T23:08:40+00:00",
"source_file": "6-space-game/6-end-condition/assignment.md",
"language_code": "tw"
}
-->
# 建立一個範例遊戲
## 指示
嘗試建立一個小型遊戲,練習不同的結局條件。可以設計得分達到一定數量、英雄失去所有生命值或所有怪物被擊敗等情況。建立一個簡單的遊戲,例如基於控制台的冒險遊戲。以下的遊戲流程可以作為靈感:
```
Hero> Strikes with broadsword - orc takes 3p damage
Orc> Hits with club - hero takes 2p damage
Hero> Kicks - orc takes 1p damage
Game> Orc is defeated - Hero collects 2 coins
Game> ****No more monsters, you have conquered the evil fortress****
```
## 評分標準
| 評分標準 | 優秀表現 | 合格表現 | 需要改進 |
| -------- | --------------------- | --------------------------- | -------------------------- |
| | 完整的遊戲呈現 | 部分遊戲呈現 | 部分遊戲存在錯誤 |
**免責聲明**
本文件使用 AI 翻譯服務 [Co-op Translator](https://github.com/Azure/co-op-translator) 進行翻譯。我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。應以原始語言的文件作為權威來源。對於關鍵資訊,建議尋求專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或誤讀概不負責。