• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:53
CET 02:53
KST 10:53
  • 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
[ASL20] Finals Preview: Arrival12TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
2025 RSL Offline Finals Dates + Ticket Sales!9BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams7Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou22
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" The New Patch Killed Mech! Could we add "Avoid Matchup" Feature for rankgame Smart servos says it affects liberators as well Chinese SC2 server to reopen; live all-star event in Hangzhou
Tourneys
2025 RSL Offline Finals Dates + Ticket Sales! Crank Gathers Season 2: SC II Pro Teams Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
BW General Discussion [ASL20] Finals Preview: Arrival BSL Season 21 BSL Team A vs Koreans - Sat-Sun 16:00 CET ASL20 Pre-season Tier List ranking!
Tourneys
[ASL20] Grand Finals BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION ASL final tickets help [ASL20] Semifinal A
Strategy
PvZ map balance Current Meta Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1460 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 States25553 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 States25553 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
BSL 21
01:00
Open Quali #1
LiquipediaDiscussion
The PiG Daily
22:10
Best Games of SC
Rogue vs herO
MaxPax vs Clem
MaxPax vs Lambo
Clem vs herO
Reynor vs Classic
PiGStarcraft596
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft596
Nathanias 111
ProTech98
StarCraft: Brood War
Artosis 776
NaDa 49
ZZZero.O 46
Jaeyun 42
Bale 6
Dota 2
PGG 815
monkeys_forever702
XaKoH 451
LuMiX1
League of Legends
JimRising 606
Cuddl3bear9
Counter-Strike
fl0m1404
Super Smash Bros
C9.Mang0703
hungrybox521
AZ_Axe95
Other Games
summit1g8048
Grubby2329
Day[9].tv370
Maynarde114
RuFF_SC218
Livibee8
Organizations
Other Games
gamesdonequick1225
BasetradeTV39
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH100
• Mapu36
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21445
League of Legends
• Doublelift4528
Other Games
• Day9tv370
Upcoming Events
Replay Cast
8h 7m
Streamerzone vs Shopify Rebellion
Streamerzone vs Team Vitality
Shopify Rebellion vs Team Vitality
WardiTV Invitational
10h 7m
CrankTV Team League
11h 7m
BASILISK vs Shopify Rebellion
Team Liquid vs Team Falcon
BSL 21
23h 7m
Replay Cast
1d 8h
BASILISK vs TBD
Team Liquid vs Team Falcon
OSC
1d 10h
CrankTV Team League
1d 11h
Replay Cast
1d 21h
The PondCast
2 days
CrankTV Team League
2 days
[ Show More ]
Replay Cast
3 days
WardiTV Invitational
3 days
CrankTV Team League
3 days
Replay Cast
4 days
BSL Team A[vengers]
4 days
Dewalt vs Shine
UltrA vs ZeLoT
BSL 21
4 days
Sparkling Tuna Cup
5 days
BSL Team A[vengers]
5 days
Cross vs Motive
Sziky vs HiyA
BSL 21
5 days
Wardi Open
6 days
Liquipedia Results

Completed

ASL Season 20
WardiTV TLMC #15
Eternal Conflict S1

Ongoing

BSL 21 Points
CSL 2025 AUTUMN (S18)
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
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.