Current location: Hot Scripts Forums » Programming Languages » Other Languages » Help with an 'attack/miss' program


Help with an 'attack/miss' program

Reply
  #1 (permalink)  
Old 08-25-09, 11:12 PM
impfireball impfireball is offline
New Member
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Help with an 'attack/miss' program

Code:
x = int.randrange
y = AC

a = raw_input("")
    if raw_input = roll
    print x
    
z = *Enemy takes damage?  How does value remain neutral until boolean?*
b = *Miss enemy?  Same question above.*
if x>y then z is true
    z or b
*how would this be reiterated against the player?*
Hopefully the code is self explanatory.

Please do not use confusing words or tone of speech, since I'm new to this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get $20 to join Pilot Group Affiliate Program pilotgroup General Advertisements 2 02-01-06 01:07 PM
Flash mesenger program madprogramer Flash & ActionScript 1 12-16-05 03:37 AM
need advice on how i should go about writing this program burning_red_phoenix Everything Java 0 11-06-05 06:46 PM


All times are GMT -5. The time now is 09:31 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.