# 2.5 Game Code

{% hint style="danger" %}
**UPDATE IN PROGRESS:**  Placeholder - revised assignment still in progress.
{% endhint %}

{% tabs %}
{% tab title="✓ TASK" %}
Teams will code their video game based on their game design document.

A suggested order of what to code first will be provided. Emphasis will be on programming a minimal viable product (MVP) version of the game, rather than a full version. The game needs to be a playable demo that highlights the game design, but may not necessarily incorporate all envisioned features.

### **❏ Deliverables**

Submit the following:

* Pseudocode or flowchart for core gameplay
* JavaScript code (`script.js` file) for the video game
  {% endtab %}

{% tab title="➤ EXAMPLE" %}
[Example Flowchart for Space Invaders](https://drive.google.com/open?id=1Y7bZ4_hqWxR9B1CAEls-lQH4Du-WlzGE) (core gameplay only)

[Example Pseudocode for Space Invaders](https://drive.google.com/open?id=1xCSFF9VaDvpjOxjaswAoCrcnS58lN3a9) (entire Phaser game)
{% endtab %}

{% tab title="★ RUBRIC" %}

| **✓- Below Standard** | **✓ Meets Standard** | **✓+ Exceeds Standard** |
| --------------------- | -------------------- | ----------------------- |
| Description           | Description          | Description             |
| {% endtab %}          |                      |                         |
| {% endtabs %}         |                      |                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.idew.org/project-video-game/project-instructions/2-design-and-build-solution/2.5-game-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
