Page 1 of 1

Train Units

Posted: Mon Apr 20, 2015 1:55 pm
by Rackdos
i want to make a browser game like tribal wars. i have already created users, a main page, units, resurces. in database each user has 100 food. i want to train warriors. each warrior costs 10 food. i dont know how to put this on code. can anyone help me?