55

ES6 手写一个“辨色”小游戏

 5 years ago
source link: https://juejin.im/post/5ba0da47e51d450e6a2e0548
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1. 前言 依稀记得几年前朋友圈流行的辨色小游戏,找出颜色不同的矩形。前些天突发奇想,打算自己手写一个类似的游戏,话不多说,先上 Demo . --项目源码 本实例基于 ES6 实现,并兼容 ie9及以上。 2. 项目结构 index.html index.c

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK