/    Sign up×
Community /Pin to ProfileBookmark

I’m not sure wether this is the right place, but I’ll try anyway. Is it possible to create some sort of simple fighting system using Javascript or any other scripting language? Sort of like Person attacks computer, then computer attacks person with a preset attack. The person will also have a presert attack?

to post a comment
JavaScript

10 Comments(s)

Copy linkTweet thisAlerts:
@KorDec 08.2004 — This is a much too vague question, and the answer has to be the same. Yes, is possible to anticipate all the user's action and imagine a counter-action in replay, but only if the actions are within a set of strict and known rules within a finite system. Anyway, it is not an easy task, as the second and the following sets of actions/counter-actions might develop with an exponential rate.
Copy linkTweet thisAlerts:
@jbotDec 08.2004 — [i]Originally posted by ralphiekabo [/i]

[B]Person attacks computer, then computer attacks person with a preset attack. The person will also have a presert attack? [/B][/QUOTE]


think you want the robotics forum, matey. we only do humble coding here, not your new fangled cybernetics :rolleyes:
Copy linkTweet thisAlerts:
@ralphiekaboauthorDec 08.2004 — Don't worry, but thanks anyway. The PHP people got me an answer. The funny thing was, it was in Javascript...
Copy linkTweet thisAlerts:
@scragarDec 08.2004 — I got you your answer didn't I?

You as far as I can tell didn't even know what PHP was though(scary...)
Copy linkTweet thisAlerts:
@jbotDec 08.2004 — [i]Originally posted by scragar [/i]

[B]You didn't even know what PHP was though(scary...) [/B][/QUOTE]


how so? got a link to the cross-posted PHP thread, thanks?
Copy linkTweet thisAlerts:
@ralphiekaboauthorDec 08.2004 — Didn't understand that last one, jbot. I had a sorta vague understanding of PHP, but, correct, I didn't know well how to use it.
Copy linkTweet thisAlerts:
@scragarDec 08.2004 — http://www.webdeveloper.com/forum/showthread.php?s=&threadid=50927

it's no big deal since he's not had much experience with proper code(he used front page to veiw a file that contained PHP...)
Copy linkTweet thisAlerts:
@ralphiekaboauthorDec 08.2004 — Well, yeah. I [I]do[/I] know some HTML, but nothing on PHP. Oh, also a bit of javascript.
Copy linkTweet thisAlerts:
@scragarDec 08.2004 — Well, yeah. I do know some HTML, but nothing on PHP. Oh, also a bit of javascript.[/QUOTE]

just be sure to remeber what you know and recall it every so often, I learn ASP about 1 and a half years ago (I used it to write a quick ref for a games site that has since been taken ofline -- [URL=http://rfate.cjb.net]rfate[/URL]) but since learning PHP I've forgoten everything but the basics...
Copy linkTweet thisAlerts:
@ralphiekaboauthorDec 08.2004 — OK, I'll keep that in mind and practise!?
×

Success!

Help @ralphiekabo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...