Advertisement Jump to content
  • Advertisement

subnet_rx

Member
  • Content Count

    174
  • Joined

  • Last visited

Community Reputation

158 Neutral

About subnet_rx

  • Rank
    Member
  1. subnet_rx

    If negative, return 1

    Quote:Original post by Rockoon1 Quote:Original post by subnet_rx Yeah, I could have wrote the function faster than posting here, but I'm at my wits end with this win/loss ranking algorithm I'm trying to create. Basically, I'm trying to figure out a way that 20-2 > 5-0 > 50-30 > 100-100. So, at the time, this thread sounded like a good idea, maybe a light bulb would go off at some point. It's been quite some time since I've been in a math class. What you need to do is define why 20-2 beats 5-0 .. Everything else you have there can be gotten from a straight percentage ranking: wins / (wins + losses) If you can define why precisely 20/22 is better than 5/5 (probably with some bonus for number of events played) then you can work it in .. Well, basically if it was totally from winning percentage, I could be 99-1 and you be 1-0 and better ranked than I am. I'm obviously a more proven winner than you are, and so I would like to give some weight to that. Right now, I'm saying ($total / $outcomes) * 35 where $total is the total number of games you've played, and $outcomes is the total number of games available since inception. I take that and add it to $win / $total * 100 to come up with your points. By adjusting the 35 to different numbers, I can make participation more or less important. It's the best way that I know to do it. I'm sure there are better ways, but math is just rusty to say the least.
  2. subnet_rx

    If negative, return 1

    Yeah, I could have wrote the function faster than posting here, but I'm at my wits end with this win/loss ranking algorithm I'm trying to create. Basically, I'm trying to figure out a way that 20-2 > 5-0 > 50-30 > 100-100. So, at the time, this thread sounded like a good idea, maybe a light bulb would go off at some point. It's been quite some time since I've been in a math class.
  3. subnet_rx

    If negative, return 1

    yes, but I've been trying to optimize my code. I was wondering if there was a math function that basically did the same thing so I could just say abs(value) and be done.
  4. subnet_rx

    If negative, return 1

    Is there a function that would return 1 if the number is negative, and if positive, just return the number?
  5. subnet_rx

    Ranking system problem

    This is a reply I got on another board: Quote: I think we are thinking about this wrong. Some how we need to give a win/loss some sort of weighting as i had based on total number of games played Like if you have played 50 games a win is worth 1 and a loss is worth .5 but if u have 100 games then a win is worth .85 and a loss is .45 or some sort. then we figure out that sum. An equation for that is like $factor_w = 100; $factor_l = 85; $games = 50; $wins = 25; $losses = 25; $total = ($wins/($factor_w/$games))-($losses/($factor_l/$games)); So this generates a value that will be put in to $a*exp($k*$total); Where $k is to keep the values realistic and $a is to create more significance to the outputted value. However this results in an issue because $total could be <0 which means if you have more losses than wins you are going to be really low down. Somehow it has to be exponential, but somehow it has to take into account games and wins vs loss ratio. we could just use that outputted $wins/$games which si your wining percentage. then take exp($wins/$games) which takes into account losses. You seem to be worried about combining all three leagues together, but that isn't nessecary until after you get the inital values create. Then its easy. but the problem at hand is creating an equation where 25-0 is equal to 75-4 but less than 101-7 for example.
  6. subnet_rx

    Ranking system problem

    Yeah, I've looked at several chess systems, and football ranking systems. Problem is, a main factor is the strength of the opponent. In my game, no one plays anyone else. They simply pick winners, and get a win if their pick wins.
  7. I'm sure this something tackled by thousands before me, but I'm looking for a ranking system. I can find plenty of player vs. player ranking systems on the net, but this is pure win/loss based on picks. So, I'd like to rank based on win/loss record, number of games participated in, and maybe factor in total number of games possible. So, 5-0 would not beat 30-10. A person that has picked that many winners should rank higher than someone who has gotten lucky and picked 5 winners. Anyone have a good algorithm or points system for a win/loss ranking such as this?
  8. yeah, there are free search engine scripts out there, I would start with those. I would imagine you'd have to index because I'm pretty sure the free ones do.
  9. Quote:Original post by evolutional You could probably code ASP.NET in C# without knowing much HTML - but that's only if you use the drag and drop designer components in Visual Studio ASP WebMatrix. You'll get the benefits of the .NET framework and can deploy custom WebForms controls at runtime too. Naturally, you'll have data access with System.Data and System.Xml too. this is the best answer to the question. Eventhough I've never used it, using C# with a WYSIWYG editor to program web pages would be the most like C++.
  10. no, many sites show the CC number, exp date, and name on card on the confirmation page. But, it should all be done on encrypted pages so that the information exchange is secure.
  11. subnet_rx

    Java 5 (1.5) has been released

    ohh sorry, I mean, I got the Java download right, I think everyone knows where Slashdot is.
  12. Java version 1.5.0 has been released. Performance is said to be higher, but I'd still like to see some benchmarks. Read the comments over at Slashdot [Edited by - subnet_rx on September 30, 2004 5:00:13 PM]
  13. subnet_rx

    Linux

    I don't find Slackware to be that bad, but then I've been using Linux since RedHat 3. When I first installed Debian a few years ago, it was a nightmare. Linux has really improved, but don't expect Windows until a easy to use windowing api is developed, and a some nice RAD tools. This should deter anyone from dual booting Windows and Linux. Use one, learn from the other.
  14. Windows *may* be better, but Linux just gets me in a programming mood.
  15. subnet_rx

    Suggest a language...

    Well, all the languages have a good case. Let me see if I've got this straight. C# has a good development environment, is fast, but may or may not have portability issues in the future. Java is moderately fast, I have never worked with a solid GUI IDE (although NetBeans looks promising), is very verbose, statically typed language, and cross-platform compatible. Python is slow compared to the others, no GUI IDE, but is a dynamically-typed, user-friendly language. [Edited by - subnet_rx on September 21, 2004 1:01:03 PM]
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!