Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an algorithm to score the goodness of various programs and build this into the leaderboard. #5

Open
pcardune opened this issue Dec 24, 2014 · 0 comments

Comments

@pcardune
Copy link
Owner

Some programs are better written than others. They can be more efficient, or more elegant. These should factor into the leaderboard rankings. If you write a bunch of poorly written programs, you shouldn't necessarily get high in the ranking.

So what makes a good program?

elegance == the number of tokens required to write the program, lower is better
efficiency == the number of steps taken to execute the program, lower is better

So leaderboard ranking would be SUM(programCompleted_1/elegange_1/efficiency) or something like that.

We could even potentially give x/3 stars when you complete a program based on the above similar to the many iphone games out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant