Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 6th, 2008, 3:20 PM   #1
slicksk8te
Newbie
 
Join Date: Feb 2008
Posts: 13
Rep Power: 0 slicksk8te is on a distinguished road
Question intermediate programming ideas

I am an intermediate c++ programmer and I was woundering if anybody could give me a few ideas that would help me become a better programmer while giving me a useful program that I can use.

Any ideas would be greatly appriciated.
slicksk8te is offline   Reply With Quote
Old Feb 6th, 2008, 3:36 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,824
Rep Power: 5 Sane will become famous soon enough
Re: intermediate programming ideas

A useful program that you can use? Or a useful program that you can write?

I will assume you meant write, in which case... what are the kind of programs you can make? Graphical? Simulation? Games? Algorithms? Networking? What haven't you made? What are you interested in? These are all very important questions. Sure, someone here could tell you to implement an exponential-time SAT algorithm, but that might not be relevant for you.
Sane is offline   Reply With Quote
Old Feb 6th, 2008, 4:01 PM   #3
slicksk8te
Newbie
 
Join Date: Feb 2008
Posts: 13
Rep Power: 0 slicksk8te is on a distinguished road
Re: intermediate programming ideas

well I have made some small graphics programs and a couple of text based games. I am interested in doing things like graphics(no APIs), simple games, some alogorithms. I have tried to make simple games such as sidescrollers but the problem is that I do not know how to put it together. I mostly want to find an idea that I could do in about a week that can give me more practice programming. I guess I am looking for an idea that would give me a bit more experience.
slicksk8te is offline   Reply With Quote
Old Feb 6th, 2008, 5:23 PM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,824
Rep Power: 5 Sane will become famous soon enough
Re: intermediate programming ideas

Why not a game like tic-tac-toe? There are many aspects you could focus on to challenge yourself.

Algorithms: Make an unbeatable artificial intelligence. You can never lose Tic-Tac-Toe (only tie) if you play perfectly.

Graphics: You could also work on making a very flashy and pleasing graphical interface.

Realtime Events: Add a time limit for each player to make their turn. Making the game display a realtime countdown would add the element of event handling, which is important for making almost any game.

Modularity: You could challenge yourself to write good, modular, code, by separating the game into distinct modules and writing OO code.

Gamplay / More Algorithms: You could try implementing more options:
  • AI difficulty levels 0-9
  • Play on a p x q grid. As opposed to a 3 x 3 grid. Info Here.
  • The above two items in conjunction would be extremely difficult if you wanted to really challenge yourself.

As you can see there's everything from novice-expert here. I am sure there are many more things you could do to turn tic-tac-toe into a challenging and fun programming problem. But that is just one suggestion; I would wait until hearing from others.

Last edited by Sane; Feb 6th, 2008 at 5:44 PM.
Sane is offline   Reply With Quote
Old Feb 6th, 2008, 5:29 PM   #5
slicksk8te
Newbie
 
Join Date: Feb 2008
Posts: 13
Rep Power: 0 slicksk8te is on a distinguished road
Re: intermediate programming ideas

thanks for the idea. I will defintely do that.
slicksk8te is offline   Reply With Quote
Old Feb 7th, 2008, 10:03 PM   #6
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,005
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: intermediate programming ideas

Quote:
Originally Posted by slicksk8te
I am interested in doing things like graphics(no APIs)
Why no APIs? Unless you're writing games for DOS or something, where you have raw access to the hardware, you're going to need to use some API. Which API depends on your skills, choice of language, and target platform(s). All of these will factor in heavily.

Some examples of APIs used in graphics include DirectX (for Windows), OpenGL (for various platforms), GDI/GDI+ (for Windows), and SDL (various platforms). This is by no means an exhaustive list.
Quote:
Originally Posted by slicksk8te
simple games
Like Tetris? It's a rite of passage for any would-be game programmer. You can do text-mode or graphics-mode Tetris, depending on your mood.
Quote:
Originally Posted by slicksk8te
I have tried to make simple games such as sidescrollers but the problem is that I do not know how to put it together.
What do you mean? You didn't know how to handle the gameplay, or you didn't know how to manage the scrolling? Basically, all you need to do is redraw the screen each refresh cycle, taking into account the new position of game elements, such as the character, monsters, etc. Many side-view scrolling games are made up of tiles, which makes it rather simple, as you build the scene up out of smaller blocks. Even some more or less modern games use this approach, though sometimes the tiles are rhomboid instead of square (isometric games like Diablo, for example).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Feb 8th, 2008, 5:58 PM   #7
slicksk8te
Newbie
 
Join Date: Feb 2008
Posts: 13
Rep Power: 0 slicksk8te is on a distinguished road
Re: intermediate programming ideas

The reason that I say no API's is because I would like to learn what they do for me so that I can truly appreciate their use.

Tetris does sound like another good idea but I am not quite sure how to implement it.

On side scrollers it is not the scrolling but the basic layout of the game engine and some of the gameplay. I usually get to the point where I can draw things to the screen through a function that also double buffers but I do not know where to go from there.
slicksk8te is offline   Reply With Quote
Old Feb 9th, 2008, 3:28 PM   #8
Shivan
Common Language Runtime
 
Shivan's Avatar
 
Join Date: Feb 2008
Location: Internet
Posts: 6
Rep Power: 0 Shivan is on a distinguished road
Re: intermediate programming ideas

To be really acomplished try and if you go to school, try and make a calculator that can mimic a graphics calculator or even more. That would be nice, and it would help with your homework too.

PHP Syntax (Toggle Plain Text)
  1. $_GOOD = Homework_Done() + More_Time_On_Computer();
__________________
Want to Learn List:
PHP, MySQL, C/C++, C#, Java, HTML CSS, Perl and Python.
Shivan is offline   Reply With Quote
Old Feb 9th, 2008, 3:33 PM   #9
slicksk8te
Newbie
 
Join Date: Feb 2008
Posts: 13
Rep Power: 0 slicksk8te is on a distinguished road
Re: intermediate programming ideas

what?
slicksk8te is offline   Reply With Quote
Old Feb 9th, 2008, 6:50 PM   #10
Shivan
Common Language Runtime
 
Shivan's Avatar
 
Join Date: Feb 2008
Location: Internet
Posts: 6
Rep Power: 0 Shivan is on a distinguished road
Re: intermediate programming ideas

Well what I am trying to say is that making a calculator using MFC, would be nice. A calculator that can do most functions that a graphics calculator can do. It can be helpful for school and many other things. A Graphics calculator can: store and solve matrices, solve polynominals with 2 or more unknowns, and also it has its own basic language to create programs.

It would be a nice goal to accomplish, don't you think?
__________________
Want to Learn List:
PHP, MySQL, C/C++, C#, Java, HTML CSS, Perl and Python.
Shivan is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Forums - New Management big_k105 Community Announcements and Feedback 14 Oct 13th, 2007 11:02 PM
Ideas for software/Systems Programming bigguy Coder's Corner Lounge 1 May 28th, 2006 6:17 PM
Does Programming Make You Smarter? Sane Coder's Corner Lounge 43 Oct 2nd, 2005 6:12 AM
MIT's Metaphor For Software Programming Infinite Recursion Other Programming Languages 2 Jun 12th, 2005 6:42 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC