• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 12:21
CET 18:21
KST 02:21
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies1ComeBackTV's documentary on Byun's Career !10Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies ComeBackTV's documentary on Byun's Career ! Micro Lags When Playing SC2? When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament $100 Prize Pool - Winter Warp Gate Masters Showdow Winter Warp Gate Amateur Showdown #1 RSL Offline Finals Info - Dec 13 and 14!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Klaucher discontinued / in-game color settings Anyone remember me from 2000s Bnet EAST server? How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[BSL21] LB QuarterFinals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1602 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 States25557 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 States25557 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
Monday Night Weeklies
17:00
#35
RotterdaM538
TKL 313
IndyStarCraft 82
BRAT_OK 59
SteadfastSC34
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 538
TKL 313
Liquid`VortiX 132
IndyStarCraft 82
mouzHeroMarine 69
BRAT_OK 59
SteadfastSC 34
DivinesiaTV 16
trigger 6
StarCraft: Brood War
Bisu 1038
Larva 476
Mini 469
Light 280
firebathero 154
Snow 144
ggaemo 136
Rush 95
Dewaltoss 92
soO 35
[ Show more ]
Movie 32
910 24
Dota 2
syndereN1630
XcaliburYe755
Counter-Strike
adren_tv126
Heroes of the Storm
Khaldor232
Other Games
Grubby6853
B2W.Neo1349
FrodaN801
ceh9394
Fuzer 381
Lowko297
hiko272
crisheroes192
ToD101
QueenE96
Mew2King95
Trikslyr26
RushiSC18
Organizations
Other Games
WardiTV779
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 29
• Hinosc 7
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV1281
League of Legends
• Nemesis3688
• TFBlade969
Other Games
• Shiphtur151
Upcoming Events
WardiTV Invitational
1d 18h
Replay Cast
2 days
WardiTV Invitational
2 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
4 days
Sparkling Tuna Cup
5 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

YSL S2
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2025 TLnet. All Rights Reserved.