• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:43
CET 11:43
KST 19:43
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0247LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued Behind the Blue - Team Liquid History Book
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April The Dave Testa Open #11
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
BW General Discussion TvZ is the most complete match up Soma Explains: JD's Unrelenting Aggro vs FlaSh CasterMuse Youtube ACS replaced by "ASL Season Open" - Starts 21/02
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Escore Tournament StarCraft Season 1 [LIVE] [S:21] ASL Season Open Day 1
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Battle Aces/David Kim RTS Megathread Path of Exile Nintendo Switch Thread Beyond All Reason New broswer game : STG-World
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 TL Mafia Community Thread
Community
General
UK Politics Mega-thread US Politics Mega-thread YouTube Thread Mexico's Drug War Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1964 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
PiG Sty Festival
09:00
PiGFest 7 Playoffs Day 1
Serral vs MaruLIVE!
herO vs Solar
PiGStarcraft1466
ComeBackTV 779
IndyStarCraft 188
Rex157
BRAT_OK 150
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft1466
IndyStarCraft 188
Rex 157
BRAT_OK 150
StarCraft: Brood War
Britney 28950
Sea 3733
FanTaSy 3356
Calm 2585
Rain 2280
GuemChi 1359
Horang2 1123
Jaedong 977
Stork 528
Larva 124
[ Show more ]
Dewaltoss 110
Rush 92
ToSsGirL 63
Pusan 62
Killer 58
ZergMaN 45
ZerO 44
hero 42
Light 35
Sharp 34
Backho 29
yabsab 29
Shinee 28
Movie 21
Barracks 21
NaDa 21
Bale 18
sorry 18
Shine 16
Hm[arnc] 8
Mind 2
Dota 2
Gorgc923
XaKoH 553
XcaliburYe55
Counter-Strike
olofmeister1801
kRYSTAL_55
Other Games
summit1g12691
singsing2454
ceh9492
JimRising 323
crisheroes308
NeuroSwarm48
Mew2King44
QueenE38
ZerO(Twitch)8
Organizations
Counter-Strike
PGL309
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt856
Upcoming Events
Big Brain Bouts
6h 17m
Shino vs DnS
SpeCial vs Mixu
TriGGeR vs Cure
Korean StarCraft League
16h 17m
PiG Sty Festival
22h 17m
Reynor vs Clem
ShowTime vs SHIN
CranKy Ducklings
23h 17m
OSC
1d
SC Evo Complete
1d 2h
DaveTesta Events
1d 7h
AI Arena Tournament
1d 9h
Replay Cast
1d 13h
PiG Sty Festival
1d 22h
[ Show More ]
Sparkling Tuna Cup
1d 23h
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
Replay Cast
3 days
Replay Cast
4 days
Replay Cast
5 days
The PondCast
5 days
KCM Race Survival
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Underdog Cup #3

Ongoing

Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

NationLESS Cup
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
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
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.