English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

How would I go about making a connect four game on QBasic 75?

2007-02-02 15:20:25 · 2 answers · asked by One With No Name 2 in Computers & Internet Programming & Design

2 answers

QBasic! Long time since I thought about that. That's how I started programming about 15 years ago.

You didn't make clear what your knowledge on QBasic is. If you are just learning, don't start out trying to make the connect 4 game right away. You will need to take time learning the different functions and making simpler programs. Focus on moving graphics around the screen, since that's what you will need to know how to do to make your Connect 4 game.

If you do have a lot of knowledge on QBasic, I would first start out by creating the graphics. When the program starts, it should have a menu of some kind. I would use a pointer arrow above the game area which would be controlled with the arrow keys. Then when you hit enter, the piece drops into place. Calculate if they have won. If not, continue to the next player.

Just wondering though, why are you using such old software?

2007-02-02 15:35:15 · answer #1 · answered by lotsofish 4 · 0 0

Wow, lots of ways to accomplish this. Are you referring to a 2-player version (simple) or one with AI (complex)?

2007-02-02 15:29:15 · answer #2 · answered by disposable_hero_too 6 · 0 0

fedest.com, questions and answers