471,570 Members | 902 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

Browser based game architecture

Hi,
I am working on a browser based space simulation game. I think about
two different architectures but i cannot decide,

First one is to use and rdbms to store persistent world data. But i
want to have the whole game universe in OOP way. So i thought i can
have a stand alone application to manage the whole universe. Everything
would be objects in heap and i can dump them each 30 mins to a binary
file. This way seems to be the fastest way to access and alter data. Of
course i will need to be very careful about stability (a crash can
cause a timewarp in this scenario). But i can reach any object without
worrying about sql query overhead. Since i need a http server, i will
write my own into the server applicaiton or have an asp.net project
which acts like a proxy between clients and server and this doesn't
seem to be a good solution.

It seems that using a rdbms with an asp.net project is the best way but
i would like to find a solution to be able to do this in oop way.

Any suggestions?

Jan 1 '06 #1
1 2413
What's wrong with having an asp.net web site as proxy between server and
clients? You are writing you wanted to design a browser based game, so
browser needs to be involved. If you want to do it in a "proper OOP way",
standalone asp.net site won't be of any good use, because it's stateless. So
it can act only as a proxy. If you want to avoid constant sql queries, a
solution I can think of would be to develop a windows service which would
host the whole OO infrastructure and propagate it as remoted objects via
..NET remoting. ASP.NET site would act as remoting client and interact with
the environment.

"Antimon" <an*****@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi,
I am working on a browser based space simulation game. I think about
two different architectures but i cannot decide,

First one is to use and rdbms to store persistent world data. But i
want to have the whole game universe in OOP way. So i thought i can
have a stand alone application to manage the whole universe. Everything
would be objects in heap and i can dump them each 30 mins to a binary
file. This way seems to be the fastest way to access and alter data. Of
course i will need to be very careful about stability (a crash can
cause a timewarp in this scenario). But i can reach any object without
worrying about sql query overhead. Since i need a http server, i will
write my own into the server applicaiton or have an asp.net project
which acts like a proxy between clients and server and this doesn't
seem to be a good solution.

It seems that using a rdbms with an asp.net project is the best way but
i would like to find a solution to be able to do this in oop way.

Any suggestions?

Jan 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

34 posts views Thread by Charles Douglas Wehner | last post: by
3 posts views Thread by Michael Crawford | last post: by
reply views Thread by Dana Morris | last post: by
12 posts views Thread by Mats Lycken | last post: by
1 post views Thread by Chu | last post: by
5 posts views Thread by Gregory Piñero | last post: by
1 post views Thread by neokosmos | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.