PSX5Central
Non Gaming Discussions => Off-Topic => Topic started by: littleogre on July 03, 2001, 10:03:26 PM
-
i like those word puzzles were you have a bunch off letters in rows and you have to find all the hiden words.
i will try to give an example.
cet
sag
t c t
is there a way to make those on my computer? or is there a special program that i can dl that will allow me to make them? if someone wants to answer my question but needs more detail as to what i want to know just tell me.
ps
i also want the computer to find all the right answers to the puzzles.
-
There is a million and one ways of doing this,
All you got to do is create a grid, make it virtual, expand the columns/rows as needed.
Create file format, something easy like this:
C*******T*
A***B**A**
T****EX***
*****IE***
*******R**
now you have a grid, all you need to do is create
a little engine to read this in, replace all * with a random letter from the alphabet, keep all non * characters in their correct position in the grid.
Done.
That is one easy way of programming this ... there are more elegant ways, but why bother.
-
Originally posted by Toxical
There is a million and one ways of doing this,
All you got to do is create a grid, make it virtual, expand the columns/rows as needed.
Create file format, something easy like this:
C*******T*
A***B**A**
T****EX***
*****IE***
*******R**
now you have a grid, all you need to do is create
a little engine to read this in, replace all * with a random letter from the alphabet, keep all non * characters in their correct position in the grid.
Done.
That is one easy way of programming this ... there are more elegant ways, but why bother.
thank you for your help. i am new to computers so is there anywere i can go online to learn how to do simple things like makeing grids?
-
Learn to program,
If i was you, i would get myself a couple books on C,
or something easier like Delphi, get a decent version of a C compiler or Delphi enviornment, and learn to code.
Then you could do all kinds of neat things with your ideas. :D
-
Originally posted by Toxical
Learn to program,
If i was you, i would get myself a couple books on C,
or something easier like Delphi, get a decent version of a C compiler or Delphi enviornment, and learn to code.
Then you could do all kinds of neat things with your ideas. :D
thank you i will look for some books on programing
-
For $9.99 at most office supply stores you can buy a program that does it for you! All you do is type in a list of words to use and POOF! You have your word puzzle and solution guide! (Most also make crossword puzzles too!)
-
Originally posted by Troglodyte
For $9.99 at most office supply stores you can buy a program that does it for you! All you do is type in a list of words to use and POOF! You have your word puzzle and solution guide! (Most also make crossword puzzles too!)
sheeesh, he was almost hooked on programming Trog, now he will just buy a complete game instead of learning to program, and creating his own word game. :D
-
Originally posted by Toxical
sheeesh, he was almost hooked on programming Trog, now he will just buy a complete game instead of learning to program, and creating his own word game. :D
Well, one could buy the game, then look at how it was programmed, then alter the code to suit the user better.
One of the best ways of learning to program is to manipulate already present code.
Or, one could just cop out and use the wussy $9.99 program. :D
-
Originally posted by Troglodyte
One of the best ways of learning to program is to manipulate already present code.
True :D,
next thing you know he\'ll be usin\' ICE, to break Hardware-keys or Dongles as i like to call them :D of 3D Studio Max or what have you! :D
-
Originally posted by Toxical
sheeesh, he was almost hooked on programming Trog, now he will just buy a complete game instead of learning to program, and creating his own word game. :D
thank you i will check an office supply store over the week end. tox don\'t worry i still want to learn to program for my self. also could you tell me were i can dl a c compiler?
-
C/C++ compiler,... if you want to buy one, and are a student you can go to:
http://www.metrowerks.com/products/windows/
http://www.office2000pro.com/20001611/micdev.html
Free Compilers:
http://www.borland.com/bcppbuilder/freecompiler/
I havn\'t looked much into free stuff in the last 4 years, I got all my tools already, and i\'m happy. :D
-
Originally posted by Toxical
C/C++ compiler,... if you want to buy one, and are a student you can go to:
http://www.metrowerks.com/products/windows/
http://www.office2000pro.com/20001611/micdev.html
Free Compilers:
http://www.borland.com/bcppbuilder/freecompiler/
I havn\'t looked much into free stuff in the last 4 years, I got all my tools already, and i\'m happy. :D
thank you
-
i just got my c++ compiler and it seems very complicated. hopefully it will be easier once i read a book on c. one other question how do i get into the dos shell?
-
Originally posted by littleogre
i just got my c++ compiler and it seems very complicated. hopefully it will be easier once i read a book on c. one other question how do i get into the dos shell?
Dos shell?
you can just click on Start --> Run --> and type the word Command
or you can select Start-->Programs--> MS-DOS Prompt
i like the first option,
and that should bring up a DOS box for ya.
-
QBasic is good for Dos based games. I dunno where you\'d find a copy now-a-days. Probably on a rare ABware site. You could also make an empty file in DOS, write the program using the Edit command on the empty file, and then change it to a .EXE when you save it off. I think that\'s how DrugWars was made.
-
Originally posted by Toxical
Dos shell?
you can just click on Start --> Run --> and type the word Command
or you can select Start-->Programs--> MS-DOS Prompt
i like the first option,
and that should bring up a DOS box for ya.
ty