Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk > Bug Reports and Suggestions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 07-20-2013, 09:45 PM   #21
21992
Proud Indian 7-11 Owner
FFR Veteran
 
21992's Avatar
 
Join Date: Jul 2009
Posts: 466
Default Re: FFR Skill Rank System

Quote:
Originally Posted by Doug31 View Post
Okay, well, I've created a new and highly improved version of my program although it still fails to take many things into account as mentioned previously. But I think this would probably get about 98% of people into their correct divisions if we could determine numbers to be the cutoff of each version.

The program:
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class SkillTestV2 {
public static void main(String[] args) {
new SkillTestV2().start();
}
public void start() {
List<Score> theList = new ArrayList<Score>();
Scanner console = new Scanner(System.in);
while (console.hasNextLine()) {
String line = console.nextLine();
if (line.startsWith("Average Rank:")) {
break;
}
Scanner s = new Scanner(line);
if (!s.hasNext()) {
continue;
}
s.next();
if (!s.hasNextInt()) {
continue;
}
int difficulty = s.nextInt();
String current = "";
if (s.hasNext()) {
current = s.next();
}
String songname = "";
while (s.hasNext()) {
songname += current + " ";
current = s.next();
if ((1 == current.length() || current.length() > 6) && (current.endsWith("0*") || current.endsWith("5*") ||current.endsWith("0") || current.endsWith("5"))) {
break;
}
}
if (!current.endsWith("*")) {
continue;
}
int perfects = s.nextInt();
int goods = s.nextInt();
int averages = s.nextInt();
int misses = s.nextInt();
int boos = s.nextInt();
double val = goods + 1.8*averages + 20.0/275*boos;
theList.add(new Score(songname, difficulty, (int) val));
}
// iterate over the list and get the best scores
Score[] best = new Score[10];
int[] weights = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
int[] goods = {2, 5, 10, 15, 20, 25, 30, 35, 40, 50, 75};
for (int i = 0; i < 10; ++i) {
best[i] = new Score("You lose", 1, 9999); //really bad score
for (Score s : theList) {
if (s.difficulty > best[i].difficulty && s.goods <= goods[i]) {
best[i] = s;
}
}
theList.remove(theList.indexOf(best[i]));
}
int total = 0;
for (int i = 0; i < 10; ++i) {
System.out.println(best[i]);
total += weights[i] * best[i].difficulty;
}
System.out.println("Total score= " + total);

}

public class Score {
public String songName;
public int difficulty;
public int goods;

public Score(String songName, int difficulty, int goods) {
this.songName = songName;
this.goods = goods;
this.difficulty = difficulty;
}

public String toString() {
return (songName + " (" + difficulty + ") " + goods + " goods.");
}
}
}


Output with my level ranks:
0 (piano version) (66) 1 goods.
K8107 (65) 4 goods.
For FFR (67) 8 goods.
Gynandromorph (66) 15 goods.
Starwolf (72) 20 goods.
Romance in the Club feat. Liquido (70) 18 goods.
Undiscovered Colors (70) 26 goods.
Midnight Dragon (69) 19 goods.
Summer Time Perfume (69) 37 goods.
Caprice (73) 50 goods.
Total score= 3723

Very simple to use and now uses a player's 10 best scores. Just click run, copy and past your level ranks (use select all) into it, and it produces the output.
I'm quite the noob when it comes to programming. Does this calculate average rank of songs played?
__________________
Zakvvv666's Graduation Tournament Division 3 1st place

6th FFR Official Tournament Division 3 6th Place

Silly/Sax's Summer Sensation Division 4 2nd Place

Dragon Fury's Custom Tourney 8 Division 5B 4th Place


Just Your Amatuer Simfilier
21992 is offline   Reply With Quote
Old 07-20-2013, 09:50 PM   #22
Doug31
Falcon Paaaauuuunch!!!!!!
FFR Simfile AuthorFFR Veteran
 
Doug31's Avatar
 
Join Date: Jun 2004
Location: Washington
Age: 36
Posts: 6,811
Send a message via AIM to Doug31
Default Re: FFR Skill Rank System

Best 2 or fewer * 10 +
Best 5 or fewer * 9 +
Best 10 or fewer * 8 +
Best 15 or fewer * 7 +
Best 20 or fewer * 6 +
Best 25 or fewer * 5 +
Best 30 or fewer * 4 +
Best 40 or fewer * 3 +
Best 50 or fewer * 2 +
Best 75 or fewer
And each must be a unique song, and I can easily make it maximized so that you get the highest possible score it can give you with forcing each to be a unique song.
__________________
Doug31 is offline   Reply With Quote
Old 07-20-2013, 10:23 PM   #23
popsicle_3000
Legendary Noob
FFR Simfile AuthorFFR Veteran
 
popsicle_3000's Avatar
 
Join Date: Sep 2005
Age: 38
Posts: 4,641
Send a message via Skype™ to popsicle_3000
Default Re: FFR Skill Rank System

ffr, where we need ranks, stats, etc... for everything
__________________

Quote:
Originally Posted by One Winged Angel View Post
39,000 popsicles pro bg blue note arrow slayer whoa damn..
Quote:
Originally Posted by Xx{Midnight}xX View Post
one way to stream them all
Quote:
Originally Posted by Xiz View Post
Right after sex, it skillboosted me by +10 levels from like a 35-45 about. (Which then 15 min's later I got really tired and couldn't play anymore)

But then my lady friend got pissed off I was playing FFR instead of playing her. Then for the rest of the night she played the 'Only want me for my body' card and I didn't get to sleep with blankets that night.
Quote:
Originally Posted by thesunfan View Post
replacing ifitypedhisnameaslargeashisnamesuggests,iwouldgetbanned with theelongatedaustrocanadian3000 (pop).
Quote:
Originally Posted by reuben_tate View Post
Title: Popsicle Three

Thousand the farthest
He's gone in an official
Whoop hip hip hooray!
Quote:
Originally Posted by U.N. Owen View Post
kjwkjw: "oh my god, Tosh. Post that in the thread."

@popsicle_3000:
Danger incoming
The popsicles are melting
Three thousand of them
Quote:
Originally Posted by Wayward Vagabond View Post
you got to ease the topic into some conversation and let it go from there

dynam0: man friend that was an intense sm session right?
friend: haha yeah you really nailed those patterns
dynam0: yeah man kind of like how gay dudes nail other gay dudes in the ass!
friend: hey bro can i tell you something
dynam0 yeah man whats up?
friend: hypothetically speaking would you care if i was bisexual or maybe even gay?
dynam0: bro we shower together after sm sessions all the time and i'll still shower with you even if you are gay or w/e thats your thing just dont try to ram my ass HAHAHA
friend: thanks man
dynam0: no problem man
Quote:
Originally Posted by One Winged Angel View Post
pop takin' time out of playing irl Trauma Center to check in on his fiffer buds (mm)
Quote:
Originally Posted by Xiz View Post
Well, Popsicle won every award this year so it was canceled.
popsicle_3000 is offline   Reply With Quote
Old 07-23-2013, 05:47 PM   #24
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default Re: FFR Skill Rank System

What skill range is supposed to represent each division? It gave me 2,686 (I'm mid-high D2)
__________________
The renegade has betrayed me.
Guest15937 is offline   Reply With Quote
Old 07-23-2013, 05:59 PM   #25
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default Re: FFR Skill Rank System

I think I'm probably doing something wrong by trying to run this program in command prompt with jdk :S
__________________


rushyrulz is offline   Reply With Quote
Old 07-23-2013, 06:04 PM   #26
arcnmx
nanodesu~
Retired StaffFFR Veteran
 
arcnmx's Avatar
 
Join Date: Jan 2013
Location: Ontario, Canada
Posts: 503
Send a message via Skype™ to arcnmx
Default Re: FFR Skill Rank System

Quote:
Originally Posted by rushyrulz View Post
I think I'm probably doing something wrong by trying to run this program in command prompt with jdk :S
Save file as SkillTestV2.java
javac SkillTestV2.java
java -cp . SkillTestV2

Einstein-Rosen Bridge (81) 0 goods.
Buzzards (73) 4 goods.
Hardkore Atomic (84) 10 goods.
Integraation (82) 14 goods.
Ultrasounds! (83) 19 goods.
Sleepmix Strikes Back (83) 25 goods.
Xanthystrauma (88) 29 goods.
44 Edit (82) 18 goods.
My Half (86) 36 goods.
mutant corecore (81) 15 goods.
Total score= 4477


Wow that Buzzards I want that gone
__________________


FMO AAAs (1): Within Life :: FGO AAAs (1): Einstein-Rosen Bridge
arcnmx is offline   Reply With Quote
Old 07-23-2013, 06:07 PM   #27
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default Re: FFR Skill Rank System

I have been doing that, but where do I paste my ranks
__________________


rushyrulz is offline   Reply With Quote
Old 07-23-2013, 06:11 PM   #28
arcnmx
nanodesu~
Retired StaffFFR Veteran
 
arcnmx's Avatar
 
Join Date: Jan 2013
Location: Ontario, Canada
Posts: 503
Send a message via Skype™ to arcnmx
Default Re: FFR Skill Rank System

Oh, into the prompt. On Windows it's right-click -> paste or something?
__________________


FMO AAAs (1): Within Life :: FGO AAAs (1): Einstein-Rosen Bridge
arcnmx is offline   Reply With Quote
Old 07-23-2013, 06:14 PM   #29
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default Re: FFR Skill Rank System

Yep that did it thanks

The Bird's Poisoned Bathwater (79) 1 goods.
44 Edit (82) 4 goods.
A Kidney Stone (84) 9 goods.
Rock Rock Rock (t+pazolite Remix) (85) 12 goods.
RAN (85) 13 goods.
Music (For Kirby) (87) 23 goods.
Vortex (88) 26 goods.
grind2 (89) 35 goods.
DeVouR (88) 39 goods.
Husigi Usagi Milk Tei (94) 47 goods.
Total score= 4629

EDIT: edited
__________________



Last edited by rushyrulz; 07-24-2013 at 08:49 AM..
rushyrulz is offline   Reply With Quote
Old 07-23-2013, 06:17 PM   #30
arcnmx
nanodesu~
Retired StaffFFR Veteran
 
arcnmx's Avatar
 
Join Date: Jan 2013
Location: Ontario, Canada
Posts: 503
Send a message via Skype™ to arcnmx
Default Re: FFR Skill Rank System

Quote:
Originally Posted by rushyrulz View Post
A Kidney Stone (t+pazolite Remix) (85)
wat

EDIT: Hijacking this post to give some thoughts, since this isn't a doug-skill-thing-support-thread.

Weighted best scores aren't the worst way to to judge people. It's inherently flawed as long as combo scoring exists and wouldn't actually work as an actual ranking system since it ignores everything but your best 10 scores. However, it probably would give a nice rough indicator for things like tournament placement purposes. Not for ranking though, it's too transparent and one-dimensional.

Quote:
Originally Posted by EzExZeRo7497 View Post
Of course, that's only if you use difficulties as a factor to indicate skill, which I really don't recommend to begin with.
I wouldn't be against simply using song difficulties as a major factor in ranking, even if it discards details such as skillsets. They're unimportant in the bigger picture as long as the system rewards things like consistency more than anomalistic scores.
__________________


FMO AAAs (1): Within Life :: FGO AAAs (1): Einstein-Rosen Bridge

Last edited by arcnmx; 07-23-2013 at 06:47 PM..
arcnmx is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:59 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution