Skip to content

Instantly share code, notes, and snippets.

@phase
Created July 24, 2014 01:54
Show Gist options
  • Save phase/6d26dd4f0a1be68e4918 to your computer and use it in GitHub Desktop.
Save phase/6d26dd4f0a1be68e4918 to your computer and use it in GitHub Desktop.
Kill Streaks up to 20
private String getKillStreak(int score) {
switch(score){
case 2: return "Double";
case 3: return "Triple";
case 4: return "Quadruple";
case 5: return "Penta";
case 6: return "Hexa";
case 7: return "Hepta";
case 8: return "Octo";
case 9: return "Ennea";
case 10: return "Deca";
case 11: return "Hendeca";
case 12: return "Dodeca";
case 13: return "Tridecakill";
case 14: return "Tetradeca";
case 15: return "Pendedeca";
case 16: return "Hexdeca";
case 17: return "Heptdeca";
case 18: return "Octdeca";
case 19: return "Enneadeca";
case 20: return "Icosa";
default: return score + "";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment