|
-
Jul 9th, 2004, 04:13 PM
#1
Thread Starter
Fanatic Member
codes for backgammon
hi there,
Please help me with the following question.
I am triying to write a simple javascript game called simple"backgammon"
The problem is that I can not make the pieces move.For example I have
three pieces in slot number-4.What I want is that anytime
I roll a dice and if dice==4 I want the first piece of that slot move
+10 pixel (posTop+10) and if again the dice==4,let the second piece move
+20 and finally if the dice==4 let the third piece move +30
well I tried some codes but anytime ,say the dice==4 all three pieces moves
together.How can name the pieces differently so that they move accordingly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|