百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

whosthatpokemon

> 前端框架
开源

这是一款简单的 HTML5 游戏,它从图像中生成剪影,并让用户猜测显示的精灵的名称。

100 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

这是一款简单的 HTML5 游戏,它从图像中生成剪影,并让用户猜测显示的精灵的名称。

Who's That Pokémon?

See https://gearoid.me/pokemon/ for a live demo.

A browser-based game in which Pokémon silhouettes are shown to the user and they guess which Pokémon it is.

  • Silhouettes are generated dynamically in-browser using the canvas tag
  • Multiple difficulty settings, which choose the image source for generating the silhouette
  • User-facing stats including correct streaks and times taken

Development

You will need node and npm set up to get the code running locally. You will also need to download the Pokémon images and sounds, because they are not included in this repository. You can download them from https://gearoid.me/downloads/pokemedia.zip. Unzip this and put images/ and sounds/ in the public directory.

Once you have done this, install the dependencies by running:

bash
npm install

To run the site locally, you can then run:

bash
npm run serve

To build the site to be deployed online, run:

bash
npm run build

Testing

There is some basic testing set up using Playwright. It does a full playthrough of the game on default settings in Chrome, Firefox and Safari. To run these tests, run:

bash
npm test

Licence

This code is licensed under a Creative Commons Attribution-ShareAlike 4.0 International.

All the Pokémon names, images and sounds are copyrighted by Nintendo.

Flag icons are from https://github.com/lipis/flag-icons

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcanvasgamehtmlpokemon

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架