You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
首先感谢鱼大的代码!
背景:由于突发奇想想利用这个项目魔改成一个用于教学生识别海洋生物的小游戏,由于完全不懂前端一时无从下手,想请教社区的各位实现的思路。
我想在这个游戏基础上添加以下几个功能,想问下大佬们的思路(由于刚刚接触JS可能问题会有些蠢):
格子使用用户自定义图片替换:粗略的看了下源码格子图案貌似是用一串string实现的,如果我想改成用户指定的图片决定格子图案,想问下实现的思路。
添加类闯关模块,每一个关卡会有不同的海洋生物出现,并且难度有所变化。我目前的想法是闯关时加载新的一套config,可是完全不懂TypeScript该怎么实现,请大佬指教!
在使用“重置”“移除”“洗牌”等功能的时候需要学生先阅读完我们准备好的阅读材料后并答完选择题后才可使用,这样是不是用弹窗实现?还有由于不懂JS还是需要大佬们详细的指点!
长按/双击方块后浏览大图。由于这个游戏的主要目的是介绍这些海洋生物,要让学生清晰的看见这些生物也很重要,想问下这个功能该如何实现!
最后由于我基础薄弱,大佬们给出思路之后能否指点下我还要补习哪些前端知识(TS,JS,etc)来写出这些功能?有没有合适的教程可以学。万分感谢!
Beta Was this translation helpful? Give feedback.
All reactions