Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Having trouble finishing construction of this little game
I am making a two player game. Goal is to guide your elf to the tree before opponent elf got to it. After one reaches the tree he scores a point and two elfs needs to go to different location. The scores are written in the cornes of the screen and appear only after the first point is scored. The game is suppose to say who the winner is when some player reaches five.
I am having trouble with the counter. I can't find any location in which I can initialize "br1" and "br2" variables and make the function "udalj" recognise it (except in the function itself). Also, I do not know how to delete previous points before I write the new one.
Game files and source code are here:http://www.mediafire.com/?7j9l6b2bfagpbtp