用React、Redux、Immutable做俄罗斯方块 俄罗斯方块是一直各类程序语言热衷实现的经典游戏,JavaScript的实现版本也有很多,用React 做好俄罗斯方块则成了我一个目标。 戳:https://chvin.github.io/react-tetris/玩一玩! 效果预览 正常速度的录制,体验流畅。 响应式 不仅指屏幕的自适应,而是在PC使用键盘、在手
游戏界面是经典的游戏机设计,玩起来也能在其中找到当时玩游戏机的感觉 网址:https://chvin.github.io/react-tetris/?lan=zh-cn 2、贪吃蛇 控制鼠标方向操控蛇,右键加速 网址:http://slither.io/ 3、LINE RIDER 你可以发挥你的想象力,画出各种奇怪的线条,将它们组合在一起,保证在重力的作用下小人可以在线条上...
https://fakeupdate.net/(假装升级,不过我更喜欢叫它“装个逼先”) 用法:点图,再点击F11,就可以装逼辣! https://chvin.github.io/react-tetris/?lan=zh-cn(俄罗斯方块) 玩法:谁都会玩,你不会玩? https://www.webhek.com/post/draw-a-stickman/(请画个小人) 玩法:画就完了...
import{Zpl}from"react-native-zpl-code";// Create a ZPL builder instanceconstzplBuilder=newZpl.Builder();// Setup label configurationzplBuilder.setup({size:{heightDots:609,widthDots:609,},labelHome:{x:0,y:0,},labelTop:0,labeShift:0,orientation:'NORMAL',media:{type:'MARK_SENSING',dots:...
react-tetris ——用 React、Redux、Immutable 实现的俄罗斯方块游戏,支持自适应、数据持久化等。 在线体验:https://chvin.github.io/react-tetris/ 体验流畅 / 不仅指屏幕的自适应,而是在 PC 使用键盘、在手机使用手指的响应式操作 数据持久化,通过订阅 store.subscribe,将 state 储存在 localStorage,精确记录所有...
2023年精选开源项目汇总,分类汇总. Contribute to OpenGithubs/Summary2023 development by creating an account on GitHub.
下面这款,即是一位前端工程师在 GitHub 上用 React 搞的小游戏。 这个项目不仅好玩,技术实现原理也讲解非常到位。 它通过响应式与数据持久化,使得游戏体验的效果更佳,也让你可以直接在手机端上进行操作。 https://chvin.github.io/react-tetris/?lan=cn ...
chvin/react-tetris chxuan/vimplus chybeta/web-security-learning chyingp/nodejs-learning-guide chyroc/wechatsogou chyyuu/ucore_os_lab ciaranj/node-oauth cilium/cilium cinder/cinder circe/circe cirosantilli/x86-bare-metal-examples cisco/chezscheme cisco/openh264 cisofy/lynis citation-style-language/...
+ +There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. + +Any static assets, like images, can be placed in the `public/` directory. + +## 🧞 Commands + +All commands are run from the root of the ...