• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:37
CEST 19:37
KST 02:37
  • 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
Code S Season 1 - RO8 Preview4[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) Sea Duckling Open (Global, Bronze-Diamond) RSL Revival: Season 5 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Quality of life changes in BW that you will like ? Tulbo's ASL S21 Ro8 Post-Review Why there arent any 256x256 pro maps? Do we have a pimpest plays list? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 4 Small VOD Thread 2.0 [BSL22] RO16 Group Stage - 02 - 10 May
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread OutLive 25 (RTS Game) Dawn of War IV
Dota 2
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread The Letting Off Steam Thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1603 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 States25559 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 States25559 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
Big Brain Bouts
16:00
#115
Fjant vs Bly
Serral vs Shameless
RotterdaM1564
TKL 169
IndyStarCraft 131
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 1564
TKL 169
IndyStarCraft 131
BRAT_OK 80
CosmosSc2 19
StarCraft: Brood War
Britney 24938
Bisu 2499
EffOrt 1049
ggaemo 534
Larva 434
Stork 368
firebathero 270
Rush 247
Soulkey 246
ZerO 213
[ Show more ]
actioN 211
Hyuk 176
hero 130
Dewaltoss 88
Barracks 87
sorry 73
Sharp 59
Hyun 53
Pusan 35
HiyA 25
soO 20
Rock 18
Liquid`Ret 17
Shine 12
Terrorterran 11
ajuk12(nOOB) 9
Dota 2
Gorgc7625
monkeys_forever397
XaKoH 233
Counter-Strike
fl0m1635
byalli631
Heroes of the Storm
MindelVK13
Other Games
FrodaN2252
qojqva1267
Liquid`RaSZi1121
ceh9472
B2W.Neo420
KnowMe197
ArmadaUGS164
C9.Mang0109
QueenE78
Trikslyr62
UpATreeSC59
Mew2King56
ZerO(Twitch)19
Organizations
Other Games
gamesdonequick1866
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Adnapsc2 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 24
• FirePhoenix6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota267
League of Legends
• imaqtpie371
Other Games
• Shiphtur298
Upcoming Events
OSC
4h 24m
The PiG Daily
5h 24m
Maru vs Rogue
TBD vs Classic
herO vs Solar
ByuN vs Solar
Replay Cast
6h 24m
CranKy Ducklings
16h 24m
RSL Revival
16h 24m
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
17h 24m
Krystianer vs TriGGeR
Cure vs Rogue
SC Evo League
19h 24m
uThermal 2v2 Circuit
21h 24m
BSL
1d 1h
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
1d 6h
[ Show More ]
Sparkling Tuna Cup
1d 16h
RSL Revival
1d 16h
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
1d 17h
BSL
2 days
Dewalt vs DragOn
Aether vs Jimin
GSL
2 days
Afreeca Starleague
2 days
Soma vs Leta
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
3 days
CranKy Ducklings
3 days
Afreeca Starleague
3 days
Light vs Flash
Replay Cast
4 days
Replay Cast
5 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2026-05-05
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

KK 2v2 League Season 1
BSL 22 Non-Korean Championship
YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
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.