100 days of swiftui: 35
https://www.hackingwithswift.com/100/swiftui/35
challenge
Your goal is to build an “edutainment” app for kids to help them practice multiplication tables – “what is 7 x 8?” and so on. Edutainment apps are educational at their core, but ideally have enough playfulness about them to make kids want to play.
Breaking it down:
- The player needs to select which multiplication tables they want to practice. This could be pressing buttons, or it could be an “Up to…” stepper, going from 2 to 12.
- The player should be able to select how many questions they want to be asked: 5, 10, or 20.
- You should randomly generate as many questions as they asked for, within the difficulty range they asked for.
At the very least, you should:
- Start with an App template, then add some state to determine whether the game is active or whether you’re asking for settings.
- Generate a range of questions based on the user’s settings.
- Show the player how many questions they got correct at the end of the game, then offer to let them play again.
solution
프로젝트 깃헙
https://github.com/treesofgroo/Ios-Edutainment

feedback
추가 개발할 것들
- 버튼 클릭할 때 답을 맞추면 애니메이션 추가
- 다음 문제로 넘어가면 TextField의 값을 0으로 설정하는 것이 아닌 비우기