• Log in or sign up for an account here: https://www.sythe.org/login

Boxing hit calculator

Pikachu

Legend

A Broken Man Donor
Global Moderator
Bond Holder
Joined
Jan 27, 2016
Sythe Gold
39,668
Messages
89,666
Sythe Awards 2018 Winner
Sythe Awards 2019 Winner
Sythe Awards 2020 Winner
Sythe Awards 2023 Winner
Verified Ironman
I saw Matthew
Member of the Month Winner
Detective
Discord Verified
Toast Wallet User
Sythe's 15th Anniversary
March Madness
May the 4th Be With You
Nitro Booster
Two Factor Authentication User
Staff of the Quarter Winner
Poképedia
Sythe's 20th Anniversary
This is an open source boxing calculator, it will only calculate max hits for boxing and nothing else.

It's made in java.

Plan on adding more to it like whips etc,

Don't ask why I used all if and else statement, I didn't think of getting maths for strength max hit, did for rest.

package javaapplication3;
import java.util.Scanner;
public class JavaApplication3 {
public static void main(String[] args) {
double Atkboost, strboost, maxhit, strenght;
Scanner kb = new Scanner(System.in);
System.out.println("What is your combat style? Accurate = 1 , Kick = 2 , defensive = 3");
int Hey = kb.nextInt();
if (Hey == 2) {
//for kick
System.out.println("What is your strenght level?");
int str = kb.nextInt();
if (str <= 23) {
System.out.println("Your max hit is 3");
} else if (str <= 33) {
System.out.println("Your max hit is 4");
} else if (str <= 43) {
System.out.println("Your max hit is 5");
} else if (str <= 53) {
System.out.println("Your max hit is 6");
} else if (str <= 63) {
System.out.println("Your max hit is 7");
} else if (str <= 73) {
System.out.println("Your max hit is 8");
} else if (str <= 83) {
System.out.println("Your max hit is 9");
} else if (str <= 93) {
System.out.println("Your max hit is 10");
} else if (str <= 99) {
System.out.println("Your max hit is 11?");
} else if (str <= 100) {
System.out.println("this doesn't work");
}
//claculates for accurate
} else if (Hey == 1) {
System.out.println("What is your strenght level?");
int stre = kb.nextInt();
if (stre <= 27) {
System.out.println("Your max hit is 3");
} else if (stre > 28)
{
int level;
level = 10;
double hit = stre*0.1+1.3;
System.out.println(hit);
}
//clacs the defence
} else if (Hey == 3) {
System.out.println("What is your strenght level?");
int stre = kb.nextInt();
if (stre <= 27) {
System.out.println("Your max hit is 3");
} else if (stre > 28)
{
int level;
level = 10;
double hit = stre*0.1+1.3;
System.out.println(hit);
}
}
}
}

package javaapplication3;
import java.util.Scanner;
public class JavaApplication3 {
public static void main(String[] args) {
double Atkboost, strboost, maxhit, strenght;
Scanner kb = new Scanner(System.in);
System.out.println("What is your combat style? Accurate = 1 , Kick = 2 , defensive = 3");
int Hey = kb.nextInt();

if (Hey == 3) {
System.out.println("What is your strenght level?");
int stre = kb.nextInt();
double hit = stre*0.1+1.3;
System.out.println(hit);

} else if (Hey == 2) {
System.out.println("What is your strenght level?");
int stre = kb.nextInt();
double hit = stre*0.1+1.6;
System.out.println(hit);

} else if (Hey == 1) {
System.out.println("What is your strenght level?");
int stre = kb.nextInt();
double hit = stre*0.1+1.3;
System.out.println(hit);
}
}
 
Last edited:
Lanturn
Toast Wallet User
Pretty complicated for such a simple formula :p It's just floor((str+16)/10) for aggressive mode and floor((str+13)/10) for accurate/defensive mode.
 
Sythe Awards 2018 Winner
Sythe Awards 2019 Winner
Sythe Awards 2020 Winner
Sythe Awards 2023 Winner
Verified Ironman
I saw Matthew
Member of the Month Winner
Detective
Discord Verified
Toast Wallet User
Sythe's 15th Anniversary
March Madness
May the 4th Be With You
Nitro Booster
Two Factor Authentication User
Staff of the Quarter Winner
Poképedia
Sythe's 20th Anniversary
Pretty complicated for such a simple formula :p It's just floor((str+16)/10) for aggressive mode and floor((str+13)/10) for accurate/defensive mode.
Not really If I didn't do add the if else statement and just did the formula it be alot more basic =p
 
Runescape Gamblingrunescape gambling
Back
Top