Code Monkey home page Code Monkey logo

dinikinmi / english-chuanxiao Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 828 KB

the 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;

Java 100.00%

english-chuanxiao's Introduction

english-chuanxiao

english-chuanxiao's People

Contributors

dinikinmi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.