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/hk/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:45+00:00",
"source_file": "6-space-game/6-end-condition/assignment.md",
"language_code": "hk"
}
-->
# 建立一個簡單遊戲
## 指引
嘗試建立一個小型遊戲,練習不同的結局條件。可以設計不同的目標,例如獲得一定的分數、英雄失去所有生命值或擊敗所有怪物。建立一些簡單的遊戲,例如基於控制台的冒險遊戲。以下的遊戲流程可作為靈感:
```
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) 進行翻譯。我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。應以原文文件作為權威來源。對於關鍵資訊,建議尋求專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或錯誤解釋概不負責。