• Advertisement

Archived

This topic is now archived and is closed to further replies.

Game programming

This topic is 5130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am taking a 3 year course in programming soon. I was hoping someone could answer a question or 2... -What programming does making online games such as ''www.hobowars.com'' use? eg. C++ or CGI? Maybe a combination? -could u give me an example of some C++ or CGI coding? Any info u could give me, maybe a step to step guide (simple) not for me to actualy make an online brower game right now, just so i know what its about, for the future etc... thanks alot

Share this post


Link to post
Share on other sites
Advertisement
With CGI you could use any language. It''s just having a program run on a web server and output a web page taking input from forms. I have used C++ for CGI before, but mostly people don''t, and use a scripting language. I think the most commonly used one is Perl (that''s certainly the one I''m most familiar with for CGI use).

Share this post


Link to post
Share on other sites
Okay thanks, ive read a few tutorials... Just wondering, what book is best for me? I dont know ne programming, only html. All i want is a book to read so i know how to program an online browser game (text based), no matter how long it takes. Could ne one tell me the best books to read? What is the best type of programming for a text based game?

Thanks alot people!

Share this post


Link to post
Share on other sites
While there are a few books out there about programming Java applet games for play in the browser, there are no actual books on writing CGI-based games, mainly because I would imagine they''re not that popular.

If you''re dead set on using CGI for your games, get a book about CGI scripting I guess. There''s no such book as "Game Programming With CGI" but there should be plenty of books on CGI programming in general. That should be a decent way to get started.

-Auron

Share this post


Link to post
Share on other sites
Try "C++ from the ground up" by Herbert Schildt.

http://www.amazon.co.uk/exec/obidos/ASIN/0072228970/ref=sr_aps_books_1_3/202-7931574-2325455


[edited by - Corvwyn on February 7, 2004 8:14:35 AM]

Share this post


Link to post
Share on other sites
Thanks alot, wot u think about this one?

http://www.amazon.co.uk/exec/obidos/ASIN/1931841438/qid=1076169769/sr=1-1/ref=sr_1_10_1/026-1548513-3532419

sounds quite good, may i ask, what sort of games can be made
with C++?

eg.

Online games (textbased) - Hobowars.com
Counterstrike sort games?

Thanks alot!



Share this post


Link to post
Share on other sites
The book looks interesting, using games as a teaching tool seems like a good idea. I haven't read it, so I'm not certain how good it is. It seems like the book I recommended would give you a better basis in c++. Even though the book might seem a little boring at times you do get a good understanding of c++.

Keep in mind that you need to have a solid understanding of the basics to begin programming games. There is no quick and easy way. Buy a basic book, try making simple console based text-games and advance from there. Check out the "For beginners" section on this site for more info on this.

You can create all possible games in c++. Just about all games on the market is made in c++.


[edited by - Corvwyn on February 7, 2004 12:27:58 PM]

Share this post


Link to post
Share on other sites
Chedburn...

sorry this is offtopic,

but can you from now on start using proper English grammar and syntax. you posts are confusing me.

Share this post


Link to post
Share on other sites
quote:
Original post by alnite
Chedburn...

sorry this is offtopic,

but can you from now on start using proper English grammar and syntax. you posts are confusing me.


I do agree, however:

"Sorry, this is off topic, but can you from now on start using proper grammar and syntax? Your posts are confusing me. "




[edited by - Caminman on February 8, 2004 6:27:26 AM]

Share this post


Link to post
Share on other sites

  • Advertisement