今是昨非

今是昨非

日出江花红胜火,春来江水绿如蓝

Challenge 24 Points

Challenge 24 Points#

Download link: Challenge 24 Points - Puzzle and Leisure

Background#

The reason for developing this is that the Long Card credit card has a daily check-in, and sometimes there will be a challenge to make 24 points. I think it's quite interesting, so I want to make it into an app that I can play with on my way to and from work. The interface of the Long Card credit card is as follows:
img_1195.png

Development#

At first, I thought it was very simple, but after doing it, I found that it was a problem to calculate whether the given numbers can add up to 24 and how to calculate the result of the given mathematical expression. Here is a blog post Swift Postfix Expression (Reverse Polish Notation) Conversion and Calculation, you can refer to it.

The difference between this 24-point app and other apps is that it provides a skin-changing feature. I originally planned to provide a set of skins specifically for children, using fruits to represent numbers, such as 1 banana representing the number 1, 2 apples representing the number 2, and so on. However, there were no suitable images, so I changed it to a custom image function. If you want to use it for children, you can find your own images to replace them.

Originally, there was also a challenge sharing feature. In the first phase, there was a sharing page similar to WeChat Reading, but during the second phase of review, it kept showing "4.3 Design Spam", so I deleted it.

Ps: This review is really exhausting. I deleted the sharing app, about page, feedback, go to review, and challenge history sharing three times because of "4.3 Design Spam". I wanted to give up. This version was originally 4.3, and finally I appealed. I found out in the morning that it was approved.

It may be because of the last submission of the American drama app, which caused some problems with the account. The American drama app mentioned last time has been open-sourced on Github. If you are interested, you can search for "More Than American Drama". It is for learning and communication purposes only, not for spreading and promoting.

If you have any good ideas or suggestions, please give me feedback. Thank you.

Update Plan#

In the future, I plan to redesign and add the history sharing page of the app, see if I want to make a mini-program version of the online PK challenge function, and then make a step-by-step guide on how to make a 24-point app. These are the temporary plans. If you are interested, you can contact me.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.