Click to See Complete Forum and Search --> : Is this possible...
TMK123
05-16-2004, 04:00 PM
Hello, im pretty new to JS and am wondering if this project i am going to try for would be possible in java scrpt heres the project idea:
A game where a player could compete online against another player and it would be a card game: accually kinda like LOTR card game or MTG Online is this possible with javascript?
fredmv
05-16-2004, 04:05 PM
Welcome to the forums.
With the assistance of a server-side language it's very possible. JavaScript is client-side, meaning it's executed on your users' machine; it has no idea what is going on at the server hence why you need a server-side script to manage client connections and the like.
TMK123
05-16-2004, 04:11 PM
Server side meaning both computers connect to the server and then they can communicate through the server to each other?
any specific laugeuge that would work best?
fredmv
05-16-2004, 04:14 PM
That's precisely correct. Without a central server, a true multiplayer (human) game is impossible because you can't share information between the multiple users. As for the best language for this job, I think that comes down to preference. What does your server allow? PHP/MySQL should suffice.
TMK123
05-16-2004, 04:18 PM
Yes, thanks for the welcome to the forum also:
my server supports MySQL and PHP would it be very difficult to do this game? i would think it would be almost impossible to set up user accounts and have there own cards and trading ability with other players.
fredmv
05-16-2004, 04:29 PM
No problem. And to be quite honest, I'm not sure, but it couldn't be too complex. Do you want me to move this to the PHP section so you can get further assistance on this?
TMK123
05-16-2004, 04:32 PM
If you think i could get more assistance there then sure :)
TMK123
05-16-2004, 06:18 PM
Anyone got any suggestions on how to go about this? or more info that i could look up?