• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:21
CET 23:21
KST 07: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 (Jan 5-11): Clem wins big offline, Trigger upsets0$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)12Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822
StarCraft 2
General
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns Spontaneous hotkey change zerg Chinese SC2 server to reopen; live all-star event in Hangzhou SC2 All-Star Invitational: Jan 17-18
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Data analysis on 70 million replays
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1222 users

Indie game programmer needed

Blogs > affinity
Post a Reply
affinity
Profile Blog Joined October 2007
United States266 Posts
Last Edited: 2010-02-13 09:40:27
February 13 2010 09:02 GMT
#1
Heya,

I'm currently making an online browser game with my friend. He's pretty good at programming, but there's still a lot of work to be done on the game and he has a lot of stuff on his plate (we're both in college). I was wondering if there's anyone who'd be interested in working with us.

So anyways, about the game:
It’s a browser based automatic turn-based strategy game with some RPG elements. In this game, players play as a "tactician" and manage multiple characters (each levels and changes classes individually), put them into formations, and battle them. It’s coded in PHP/MySQL, but battle will use C++. If you've heard of MyBrute, it's kind of like that but slightly more brain intensive and customizable.

Players play as a tactician that manages characters. These characters can be arranged into a 3x4 formation (with max of 7 characters) and fight other players. Characters level up and change classes independent of each other (there are a total of 123 classes). As characters change classes, they gain abilities that affect their neighbors; some classes may help their allies become stronger; others may be incredibly strong individually but detract from their allies. Characters only have 2 equipment slots, weapon and armor, but it's like this to prevent players from becoming too confused, since they'll be managing lots and lots of characters.

Here is some sample art I have for the basic classes:+ Show Spoiler +

[image loading]



If you're interested in the class trees, here they are. Characters start as Novices and can change into either a Swordsman, Trainee, or Spellcaster. The parenthesized numbers next to the name of the class denote the required level.
+ Show Spoiler +

[image loading]

[image loading]

[image loading]




If you'd like to take a look at what and how each class affects its neighbors, here's a spreadsheet of all the classes and their effects.
+ Show Spoiler +
To show what location the effects are present, I used a number system.
1 2 3
4 5 6
7 8 9
5 is the character, 2 would be directly in front of the character, and 8 would be directly behind the character.
http://dl.dropbox.com/u/2020953/iggly/class stats.xlsx

P.S. If you're interested in numbers, the second sheet of the spreadsheet shows some simple statistics on how each class fares stats-wise


Also, some interesting example classes:

* Tyrant class:

Effect: -10% STR/INT/VIT to characters around it.

Character concept: The Tyant falls under the "selfish" archtype. It decreases the stats of those around it, but has above average attack while having no apparent weakness.

* Marauder class:

Effect: +2 strikes and +4 speed to the Marauder and those to either side of him for 1st 2 rounds of battle.

Character concept: The buffs the Marauder provides allows his neighbors to strike first and more often, but only at the beginning of each battle. The Marauder also has relatively high attack but low defense, essentially making him a glass cannon.

* Sorcerer class:

Effect: +60% Physical Defense to the character in front of the sorcerer and -50% Physical Defense behind the sorcerer.
Character concept: The Sorcerer gives defense to the characters in front of it while taking away defense to those behind it, which shows its mixing tendency. Players can take advantage of these effects by putting classes with very high physical defense in front of the sorcerer while putting classes that wouldn't really need physical defense anyways behind him.


The game currently is structured around simply fighting other players; in the future, I hope to implement several things: A "Player Versus Monster/Computer" function, Guilds for players to group up in, and territories for guilds to fight over. I've thought up of a good way for the latter two, but they're currently not being pursued since the basics of the game need to be programmed. Battle is fully automated for simplicity, so the structure of formations is extremely important.


Some other random things in the game:

* Characters have a specific affinity for an element. We are using the Chinese 5-element system (Water, Fire, Wood, Steel, Earth). Characters can deal extra or less damage based on its and its target's element; the affinity also gives small bonuses to make the character more "aligned" to that element, i.e. Fire affinity characters get +5% Attack and +1 speed.
* There are two ways to upgrade weapons: Refining and Imbuing. Refining adds simple stats (such as more attack for weapons and more defense for armor) while Imbues add special effects that have a range to keep players trying to get the "best" stats. This kinda unintentionally became similar to Diablo 2's crafting system, but since we don't have drop rates due to lack of PvM, it just costs money. Example: Acedia (Weapon Imbue): -80-40% Damage, +1-3 Strikes, +25-65 Critical, -10-20% Vit
This imbue seems to be pretty bad at first, but when applied to weapons with few strikes, the damage of the weapon could potentially double.

So yea, I'm looking for anyone who's interested enough in the game and wants to work on it with us.

At the moment, the following things need work. (Parentheses denote estimated hours needed by my friend)
* finish formations (10)
* rankings (10)
* battle system (20)
* finish battle code (40-60) [We mainly need help on this; it's just calculating damage]
* forums (5)
* users (registration, support, email) (20)
* fix placeholder layout (5)


If you feel anything is confusing about the game feel free to ask me questions, I'll do my best to clear up confusion. I left out some things (namely damage types, stats, substats, effects, and how battle progresses) which I feel aren't as relevant at the moment, but I'll be happy to talk about these if you're interested.

Thanks for reading!

sluggaslamoo
Profile Blog Joined November 2009
Australia4494 Posts
Last Edited: 2010-02-13 09:41:37
February 13 2010 09:30 GMT
#2
Are you using a TCP socket connection using PHP to your C++ server and then connecting to MySQL from your C++ Server?

Or are you using a PHP server and C++ server in combination?

How are you rendering the game? Is it HTML like Utopia, or more like Runescape with active rendering.

A better way would probably be to use all Java. Java Applet + Server would be much cleaner, and allow you to re-use code. No PHP, and for starters you should use SQLite because its much easier to work with. In my experience PHP sockets are terrible in comparison to standard socket connections, and only good for short transactions.

C++ is overkill, you don't need memory management for a game with such low performance requirements. Debugging in C++ and the amount of extra coding required to do anything will slow you down a lot. Not to mention the fact that you are going to need a PHP server to work alongside a C++ server, working on 1 database. If it ever got popular, MySQL would crack it from all the locking from either server.

If you are using C++ I sure hope you guys know the structured paradigm inside out.
Come play Android Netrunner - http://www.teamliquid.net/forum/viewmessage.php?topic_id=409008
Alphonsse
Profile Blog Joined March 2009
United States518 Posts
February 13 2010 09:32 GMT
#3
Sounds interesting. My background is in C++, which it looks like you need for the battle code. What are you planning on doing with the game once it's completed?
JohnColtrane
Profile Blog Joined July 2008
Australia4813 Posts
February 13 2010 10:09 GMT
#4
lol the characters look so cute xD
HEY MEYT
Aerox
Profile Blog Joined September 2004
Malaysia1213 Posts
February 13 2010 10:31 GMT
#5
Looks nice. Good luck tho. A lot of work.
"Eyes in the sky."
d3_crescentia
Profile Blog Joined May 2009
United States4054 Posts
February 13 2010 11:49 GMT
#6
Just a curious bystander question: how much were you influenced by Fire Emblem?
once, not long ago, there was a moon here
affinity
Profile Blog Joined October 2007
United States266 Posts
Last Edited: 2010-02-13 12:23:08
February 13 2010 12:20 GMT
#7
@sluggaslamoo:
Hey, thanks for all the suggestions but I'm pretty confident that my friend knows what's in store for him.

Currently, the game is pretty much text based with several graphical interactions (such as organizing formations), but I hope to get to the point where I can hire someone to do mybrute-like graphics for the game.

@Alphonsse:
The stuff listed is enough to get the game to functional state; when the game has more features, we hope to port it to facebook and maybe even internationally. We still haven't decided when would be a good time to charge for premium features, but that's definitely something we want to do. Of course, people that end up working with us probably will be compensated via upfront money and.or sweat equity.


@d3_crescentia:
Fire Emblem? I wouldn't say too much, but both my friend and I played FE7(or was it 6?) pretty religiously in middle school. I'd say the "individual characters leveling" resembles Navyfield's system more than Fire Emblem, but when deciding what class promotes to what class, I can't deny that Fire Emblem's class progression influenced me.
LastWish
Profile Blog Joined September 2004
2015 Posts
February 14 2010 16:27 GMT
#8
What are the tasks for the code in C++ exactly?
If it's only the damage calculation it shouldn't be too much of a work imo, because you can take a lot of stuff from your PHP and convert it to some classes and create a factory for them. Then make a severel functions that would take these info and actually count the damage and use some library for example Boost::asio to make network connections and do some thread pooling or something.
I'm not too much of a C++ coder at the time, all into C#, because I got lazy with having to manage memory on my own.

Sound like a interesting game though,
GL
- It's all just treason - They bring me down with their lies - Don't know the reason - My life is fire and ice -
Please log in or register to reply.
Live Events Refresh
Monday Night Weeklies
17:30
#36
SteadfastSC133
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft222
SteadfastSC 145
JuggernautJason112
Nathanias 107
UpATreeSC 96
StarCraft: Brood War
Shuttle 535
Sexy 38
Dota 2
monkeys_forever248
Pyrionflax207
capcasts85
League of Legends
C9.Mang0184
Counter-Strike
pashabiceps1548
Foxcn416
Other Games
Grubby3741
Liquid`RaSZi3054
tarik_tv2145
ToD534
shahzam444
Liquid`Hasu257
B2W.Neo252
XaKoH 103
QueenE98
Dewaltoss73
ZombieGrub46
Ketroc2
Organizations
Other Games
gamesdonequick4568
BasetradeTV31
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• davetesta13
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21003
• WagamamaTV430
League of Legends
• TFBlade930
Other Games
• imaqtpie2440
• Shiphtur288
Upcoming Events
WardiTV Invitational
13h 40m
PiGosaur Cup
1d 2h
WardiTV Invitational
1d 13h
The PondCast
2 days
OSC
2 days
OSC
3 days
All Star Teams
4 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
4 days
All Star Teams
5 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
5 days
[ Show More ]
OSC
5 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2026-01-11
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
Proleague 2026-01-12
OSC Championship Season 13
Underdog Cup #3
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
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 © 2026 TLnet. All Rights Reserved.