一個簡單的心理測驗遊戲
目標:讓題目一次只顯示一題,並新增按鈕,使用者可以切換「上一題」、「下一題」
- 在切換題目時加入檢查,若使用者未選擇則跳出提醒
延伸問題:遊戲開始前可否讓使用者自行設定題目與分數?
一個簡單的心理測驗遊戲
https://github.com/henrykuo1122/vue-quest-game.git
已完成功能~
麻煩再請老師Check!
完成: "在切換題目時加入檢查,若使用者未選擇則跳出提醒"
尚未完成: "延伸問題:遊戲開始前可否讓使用者自行設定題目與分數"
計畫: 新增另一個變數 selfQuestions , 其初始值與 questions 一樣
在程式一開始的時候讓這個變數暫存使用者的變更
當使用者確認變更後, 就將selfQuestions 的內容複製到questions 來做畫面的顯示
作業網址
Webpage: https://chrischotw.github.io/quiz/
Git: https://github.com/ChrisChoTW/ChrisChoTW.github.io
Thank you.
作業網址
https://github.com/CityRay/vue-quest-game.git
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.