Sitemap
Elinaliu

Elinaliu

PM | Edtech | Business | Bilingual Anchoring

EP Algorithm

2 min readApr 6, 2016

No blog-updating in March.
When I came back to work from annual vacation, my leader told me to take charge of a new product which includes planning it from scratch and shipping it on time. It is hard to keep writing&Daily Swift Challenge in the fast pace of product launching.

Yesterday, I started to design the Experience Point System(EP, a way to demonstrate user’s achievement) and I will give the EP Algorithm and the specified number of each level and next level.

To be honest, I am not a skilled Excel user, especially using it process data. In the beginning, I tried to write every level’s function one by one, but there are entirely 100 levels, it would drive me crazy if I adopted that measure.

Press enter or click to view image in full size

At that moment, a good idea suddenly struck me. Why not solving that problem by programming?

Get Elinaliu’s stories in your inbox

Join Medium for free to get updates from this writer.

Then I wrote the following codes:

Press enter or click to view image in full size

Compared with Excel, programming shows its dominant performance of adjusting the ratio and dealing with decimal.

It was the first time to solve a practical problem in my daily work via programming.
Asking me the feeling? That is so COOL!

--

--

Elinaliu
Elinaliu

Written by Elinaliu

PM | Edtech | Business | Bilingual Anchoring