# Mythkit

Virtual-pet game for the ESP32 touch-screen board: hatch, care for and evolve a cat-inspired mythical creature.

给 8 岁以上孩子做的电子宠物，跑在 ELEGOO E32R28T 上——ESP32 配 240x320 的 ILI9341 屏和电阻触摸。

- id: mythkit-dev-mythkit
- author: mythkit-dev
- repository: https://github.com/mythkit-dev/mythkit
- license: MIT
- shape: square
- scenes: games
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/mythkit-dev-mythkit/
- html_zh: https://esp32gallery.com/zh/projects/mythkit-dev-mythkit/
- json: https://esp32gallery.com/data/catalog/projects/mythkit-dev-mythkit.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A virtual-pet game for kids of 8 and up on the ELEGOO E32R28T board — an ESP32 with a 240x320 ILI9341 display and resistive touch. You hatch an egg, keep a cat-like mythical creature fed, clean, rested and well, and it grows through branching forms defined in data-only species packs. There are touch mini-games and turn-based games that can also be played remotely, because the board runs an MCP server: an MCP client can read the pet's stats and care for it over the home network. Deep sleep pauses the pet and catches up when power returns. Wi-Fi is optional and only used to set the clock over NTP through a hotspot page, and a microSD card is optional too, for extra species packs and firmware updates. Everything builds in a Docker image of ESP-IDF v6.0.1 through mk.sh, with host tests that need no board.
```

## 中文

```
给 8 岁以上孩子做的电子宠物，跑在 ELEGOO E32R28T 上——ESP32 配 240x320 的 ILI9341 屏和电阻触摸。开局是一颗蛋，孵出来之后要管饥饿、心情、睡眠、清洁和生病，照顾得好就会沿着分叉的形态一路进化，形态和进化关系都写在纯数据的物种包里。除了触摸小游戏，还有回合制游戏，而且能远程玩：板子上跑着一个 MCP 服务器，家里的 MCP 客户端可以直接读宠物状态、替人喂食照料。断电进入深度睡眠时宠物暂停，来电后补算这段时间。Wi-Fi 是可选的，只用来经 NTP 对时，通过热点页面配置；microSD 也是可选的，用来装额外物种包和升级固件。整个工程在 ESP-IDF v6.0.1 的 Docker 镜像里用 mk.sh 构建，宿主机测试不需要板子。
```
