currently, developing 2-player tetris game. originally, planning implement client-server model in mobile environment.
however, change web game, accessible browser. since not used web development, want know if client-server model necessary in web game.
to honest, little bit skeptical writing both client , server code since browser job connect server.
is possible build network-based game using 1 server without client part?
is possible build network-based game using 1 server without client part?
nope. need client.
it doesn't matter if you're in browser or writing native application. yes, browser solves lot of client problems - implements http you, , has display (css), content (html), , evented logic (javascript) can use. still need write client using technologies.
even if browser exposed call in javascript this:
window.startpeterhwangstetrisgame(); you still have client. client 1 line of code, , above script*.
realistically, should game-oriented web development tutorial , start there.
*(aside necessary html within javascript exists)
Comments
Post a Comment