Jump to content
  • Advertisement
Sign in to follow this  
Tryst

How much experience would it take?

This topic is 3805 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

To be able to program (in C++) something like... rock, paper, scissors that can be played online? I've only just started recently and a rough estimate is fine. I know that it is way harder than it actually sounds, especially when I'm a noob. And it's not exactly the idea I have in mind. But I also want to get a general feel for how online play works as soon as I have a pretty solid foundation

Share this post


Link to post
Share on other sites
Advertisement
Well... first you would want to know that you can make a two player version on the same computer. This is important because it will guarantee that you can handle the simpler case.

Next you would want to start looking into sockets (assuming windows winsock.) This is where things will get much more complicated. Get the hang of opening and closing a connection then passing data across it.

When you have that experience you should not have too much trouble, considering you figured out how to get that far.

Share this post


Link to post
Share on other sites
If you want to get into C++ game development then I would recommend using DarkGDK as a starting point, you can use procedural or OOP design to develop your games and you only need a basic knowledge of ANSI C++ - no messing about with Win32 garbage, it's also free to download.

Also, if you want to create a multiplayer experience you have DirectPlay at your disposal, ok, so it's not the best way to create a multiplayer game with, but if it's only rock, paper, scissor, it will be ideal, so you won't have to start messing around with Winsock.

download it from: http://gdk.thegamecreators.com/

Share this post


Link to post
Share on other sites
Quote:
Original post by soulcast

you have DirectPlay at your disposal


DirectPlay has been deprecated 4 years ago. It's generally not advisable to use deprecated tools. Especially one that deals with DirectX architecture, which is not for the faint of heart.

There's a selection of socket wrappers/network libraries listed in Network and Multiplayer forum FAQ.

But network programming will be far far far far away. The first insurmountable steps you'll need to overcome are (depending on your level of "noobness":
- Installing a C++ compiler
- Starting it and making first empty project.
- Getting it to compile
- Writing 5 line hello world program
- Figuring out why you got 150 errors
and so on...

And I'm not being mean, it's just a selection of questions that appear daily around here.

Share this post


Link to post
Share on other sites
Quote:
Original post by Antheus
Quote:
Original post by soulcast

you have DirectPlay at your disposal


DirectPlay has been deprecated 4 years ago. It's generally not advisable to use deprecated tools. Especially one that deals with DirectX architecture, which is not for the faint of heart.

There's a selection of socket wrappers/network libraries listed in Network and Multiplayer forum FAQ.

But network programming will be far far far far away. The first insurmountable steps you'll need to overcome are (depending on your level of "noobness":
- Installing a C++ compiler
- Starting it and making first empty project.
- Getting it to compile
- Writing 5 line hello world program
- Figuring out why you got 150 errors
and so on...

And I'm not being mean, it's just a selection of questions that appear daily around here.


That's fair enough, but the OP wants to create a rock, paper, scissors game.

Using DarkGDK is extremely simple, have alook at the example code via the weblink, I realise DirectPlay is not ideal, but for this type of game it will suffice, once the general idea of the game has been established then the OP can go on to learn technologies such as Winsock, but for the time being I feel what I have suggested will be sufficient.

Also, if the OP want to use sockets then there is a multiplayer extension developed by a DGDK user using winsock which is, again, extremely simple to use.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!