• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:06
CET 03:06
KST 11:06
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy5ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Weekly Cups (March 16-22): herO doubles, Cure surprises0Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool42Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12
StarCraft 2
General
What mix of new & old maps do you want in the next ladder pool? (SC2) Weekly Cups (March 16-22): herO doubles, Cure surprises Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Potential Updates Coming to the SC2 CN Server Weekly Cups (March 2-8): ByuN overcomes PvT block
Tourneys
World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
ASL21 General Discussion Soulkey's decision to leave C9 BGH Auto Balance -> http://bghmmr.eu/ JaeDong's form before ASL [ASL21] Ro24 Preview Pt1: New Chaos
Tourneys
ASL Season 21 LIVESTREAM with English Commentary [Megathread] Daily Proleagues [ASL21] Ro24 Group A [BSL22] Open Qualifiers & Ladder Tours
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books Movie Discussion! [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
U4GM Tips Counter Enemy Gadgets Fast in Black Ops rsvsr How to Keep Reward Chains Rolling in Monopol u4gm What to Do First in MLB The Show 26 Spring
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2998 users

Automatic Balance Tester - Page 6

Forum Index > TL Mafia
Post a Reply
Prev 1 4 5 6 All
Xatalos
Profile Joined January 2011
Finland9675 Posts
March 06 2014 22:15 GMT
#101
By the way, MajuGarzett was the only scum among those three.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Blazinghand *
Profile Blog Joined December 2010
United States25558 Posts
March 06 2014 23:28 GMT
#102
I recommend not-php also.
When you stare into the iCCup, the iCCup stares back.
TL+ Member
Xatalos
Profile Joined January 2011
Finland9675 Posts
March 07 2014 01:06 GMT
#103
Haters gonna hate :D
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Blazinghand *
Profile Blog Joined December 2010
United States25558 Posts
March 07 2014 01:49 GMT
#104
It's actually imo similarly fast to use Python (link) and it's better in several ways. I'd say if your goal is to get something working and you don't care about errors or vulnerabilities, php can definitely do it faster. Php is a little easier to use though so there's that, but then you have to deal with apache (ew ew ew)
When you stare into the iCCup, the iCCup stares back.
TL+ Member
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
March 07 2014 02:56 GMT
#105
Python can work.

The problem is that (I assume) he doesn't know Python and needs to learn it, but he does know Java.
He also already has the logic written in Java. I checked his code, and the only thing he needs to do is basically keep a "Balance" object in session while the user works on it, and that's it (or if he goes with JEE keep a Balance object in some scope).
The only thing he would need to do is create the HTML, set up the server, create a servlet/controller, and add actions that correspond to the actions from the UI he already made.
That's it, he only does that and he has everything else done. I think getting to know a little bit of the Java backend ecosystem is worth it just for that "the web app is already made" feeling.

Also, checked your code...
.....ahh, the "implement everything from 'equals' to 'hashcode' to 'toString' just to have a minimal class" problems of Java.
And to think that in Scala you could use just 3 lines:

case class Role(name: String, balanceValue: Double, team: Int) extends Ordered[Role] {
def compare(that: Role) = if (this.team == that.team) (this.balanceValue - that.balanceValue) else (this.team - that.team)
}
Promethelax
Profile Joined February 2012
Canada7089 Posts
March 07 2014 02:59 GMT
#106
Sometimes, when I think I know things, I read one on gonzaw's walls of text about programming. Just to remind myself I don't know anything.
TL Mafia. Love it. Play it. http://www.teamliquid.net/forum/index.php?show_part=31 I find Kennigit really attractive. If anyone has a picture of him please feel free to PM it to me.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
Last Edited: 2014-03-07 03:02:57
March 07 2014 03:02 GMT
#107
You can have a similar effect by just reading my posts in any mafia game

EDIT: If that effect was "have an aneurism" of course
Promethelax
Profile Joined February 2012
Canada7089 Posts
March 07 2014 04:04 GMT
#108
But I don't read those so I'm okay.
TL Mafia. Love it. Play it. http://www.teamliquid.net/forum/index.php?show_part=31 I find Kennigit really attractive. If anyone has a picture of him please feel free to PM it to me.
Xatalos
Profile Joined January 2011
Finland9675 Posts
March 07 2014 12:25 GMT
#109
On March 07 2014 11:56 gonzaw wrote:
Python can work.

The problem is that (I assume) he doesn't know Python and needs to learn it, but he does know Java.
He also already has the logic written in Java. I checked his code, and the only thing he needs to do is basically keep a "Balance" object in session while the user works on it, and that's it (or if he goes with JEE keep a Balance object in some scope).
The only thing he would need to do is create the HTML, set up the server, create a servlet/controller, and add actions that correspond to the actions from the UI he already made.
That's it, he only does that and he has everything else done. I think getting to know a little bit of the Java backend ecosystem is worth it just for that "the web app is already made" feeling.

Also, checked your code...
.....ahh, the "implement everything from 'equals' to 'hashcode' to 'toString' just to have a minimal class" problems of Java.
And to think that in Scala you could use just 3 lines:

Show nested quote +
case class Role(name: String, balanceValue: Double, team: Int) extends Ordered[Role] {
def compare(that: Role) = if (this.team == that.team) (this.balanceValue - that.balanceValue) else (this.team - that.team)
}


Heh. To be fair I used Eclipse's "Insert Code" for many of the more mundane methods such as getters, setters, constructors etc. so it wasn't that annoying.

Yeah, I don't really know Python. I guess it wouldn't be that hard to learn it, but naturally I would prefer to use the current logic if possible

Thanks for all the advice! I'll probably start with the project sometime relatively soon, probably before summer. Not sure how large it'll become but at least getting the current balance tester to work as a web app seems feasible.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Prev 1 4 5 6 All
Please log in or register to reply.
Live Events Refresh
Next event in 7h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft344
PiGStarcraft322
RuFF_SC2 163
Nina 136
SpeCial 133
StarCraft: Brood War
GuemChi 6752
Stork 143
ggaemo 84
ajuk12(nOOB) 26
NaDa 21
Noble 5
Dota 2
monkeys_forever743
febbydoto9
LuMiX0
Counter-Strike
taco 741
minikerr2
Super Smash Bros
hungrybox571
C9.Mang0399
Other Games
summit1g10633
JimRising 494
Day[9].tv410
Maynarde149
Trikslyr62
UpATreeSC30
JuggernautJason9
deth8
Organizations
Other Games
gamesdonequick1145
Dota 2
PGL Dota 2 - Main Stream79
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 176
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 320
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1479
• Day9tv410
Upcoming Events
Sparkling Tuna Cup
7h 54m
Afreeca Starleague
7h 54m
Soulkey vs Ample
JyJ vs sSak
Replay Cast
1d 6h
Afreeca Starleague
1d 7h
hero vs YSC
Larva vs Shine
Kung Fu Cup
1d 8h
Replay Cast
1d 21h
KCM Race Survival
2 days
The PondCast
2 days
WardiTV Team League
2 days
Replay Cast
2 days
[ Show More ]
WardiTV Team League
3 days
RSL Revival
4 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
4 days
Platinum Heroes Events
4 days
BSL
4 days
RSL Revival
5 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
5 days
BSL
5 days
Replay Cast
6 days
Afreeca Starleague
6 days
Light vs Calm
Royal vs Mind
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Proleague 2026-03-23
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.