dinikinmi / english-chuanxiao Goto Github PK
View Code? Open in Web Editor NEWthe name of this project is "chuanxiao" which means "illegal pyramid selling" in Chinese ; but this project is actually legal..and of crouse,it is neigther any thing about "pyramid selling" . actually ,this is a App use to teach english and other course..(english is the first project for testing).. and the reason we make this project's name with "chuanxiao"(illegal pyramid selling),,because we are using a pyramid way to organize the students and teachers. Q1: how is the role users act to be in this app? the relationship between user are just like the class relationship in java...in java,,some class are super class to their child class..and a super class is also a child class to their super class.. and the relationship of users in this app is just like that. when they are acting as a teacher to students,they are super class teaching child class.. in the other hand...when one are tought from his/her teacher, he/she is acting is in a students role,which we call child class. and just like what is in java,child class can have only one super class,but one super class can hold multiple child class...in this app. teacher can hold a list of students..but every one can just get 1 teacher. so..the shape of user systems is like a pyramid.. Q2:what is the benifit for user to teach another user? a user can get a student and teach it,and the student he teach can get more students.And when more students he get in his branch,the higher probility to earn more "score"(which would be changed to coin) is suscribe to him.. Q3:what is the accurate way to culculate the teacher's(super class user) benefit,is there any formula? yes,,the fomula is: theCoinReceive=(∑(students's score)+yourOwnScore)*profolio[a]-∑(students's score)*profolio[b]; // and the students's score =∑(students'students's score); the 'profolio' is a percentage number range from 0--1.And every level of profolio is corresponding to a different amount of Score.And the amount of the level of profolio is calculated in that formula: levelAmount=(the-top-score - the-buttom-score)/(2^(1/2)); so...in that case, profolio[i]-profolio[i-1]=`100/levelAmount... and you may wonder why the denominator in the formula of levelAmout is 2^1/2 ,because a+b>((a*b)(1^(1/2))); it make sure that if one user have two students(child class),his/her profolio is difinitly differ from students'; Q4:how user get Score? method A:finish the homework assign from system by oneself; method B:let his students/students' students and so on finish the homework;