Jump to content
  • Advertisement

Archived

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

Sophist17

Would this be hard?

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

Hey guys, I am learning C++... Would it be hard to make a game like tic-tak-toe? Or board games? It wouldn''t Im guessing... Should I learn direct x? (8) Or OpenGL? Which is easiest to understand? And easiest to remember the code...? I am working on a productions/entertainment team... And thought, maby I should try an make a quick easy game...! Any help here? Ok, thanks, bye!

Share this post


Link to post
Share on other sites
Advertisement
You can do tic-tac-toe using conio.h, which lets you call gotoxy to position the text output cursor, and output some extended ascii. Look at characters 179, 196, & 197

Share this post


Link to post
Share on other sites
heh, if you decide not to go for the text mode, which is easy, I would suggest OpenGL, simply because you can just "do" OpenGL(after a very small initalization), where as Direct3D / DirectDraw takes a lot longer to initalize & de-initalize. Its much easier to begin in OpenGL.

Which is easier to understand? its a toss-up AND they are both equally difficult to master.

My real suggestion, is spend some time finding out what exactly your production/entertainment team is using, and use that. Its worth your time to do the research, because it will be pointless to become "barely-fluent" in OpenGL, and then move to Direct3D, or vice versa.

Oh yeah, and DirectX is a entire library of Code, Music, Networking, Input, etc, while OpenGL is JUST graphics...

Share this post


Link to post
Share on other sites
If you''re still learning C/C++ I wouldn''t even touch games beyond simple text input, guess a number, output number kinds of things. DirectX and OpenGL are going to do nothing but frustrate you unless you''ve got a solid foundation of knowledge to build on.

Share this post


Link to post
Share on other sites
quote:
Original post by JonStelly
If you''re still learning C/C++ I wouldn''t even touch games beyond simple text input, guess a number, output number kinds of things. DirectX and OpenGL are going to do nothing but frustrate you unless you''ve got a solid foundation of knowledge to build on.


Your right in a sense, I won''t understand OpenGL or DX... I was looking at NeHe OpenGL Tutorials, and I couldn''t see anything in it, just a bunch of code... An so, I''ll just try an understand C++ before anything else ...! Hmm, okay... Thanks, bye...

Share this post


Link to post
Share on other sites
If you aren''t picky then you can make an pretty easy tic-tac-toe game in C++ console programming. If you want you can look at mine, although it might have been done the hard way it works.

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=5628&lngWId=3

The beginning is too close to the end...

Share this post


Link to post
Share on other sites

  • 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!