Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

Having trouble finishing construction of this little game

$
0
0
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

Viewing all articles
Browse latest Browse all 2703

Trending Articles