Search found 157 matches
- Sat Feb 20, 2021 8:59 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Is it Possible to Password protect a Program External DATA File ?
- Replies: 4
- Views: 35579
Re: Is it Possible to Password protect a Program External DATA File ?
You could rewrite the file shifting the text to another ASCII symbol if it is not something critical. I did that for a game I made by adding 30 to the ASC value into CHR$ and printing it into the file so a user would not cheat with famous quotes in a Crypto game. Another way to do it is to actually...
- Tue Feb 09, 2021 9:52 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Is it Possible to Password protect a Program External DATA File ?
- Replies: 4
- Views: 35579
Is it Possible to Password protect a Program External DATA File ?
OK I would like to know if it's possible to Password protect an external DATA File ? I am running a Program in real time and the program reads and writes to the external file which is in the form of a .txt File,so maybe it can be a different type of File if the first method does not work ? The Passw...
- Sun Feb 07, 2021 2:10 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: THE TIC-TAC-TOE THREAD
- Replies: 12
- Views: 45812
Re: THE TIC-TAC-TOE THREAD
Check below for my latest OXAUTOLN Program...
It is a Program I have been working on and off since 23/02/2002 (that long!) :(
Anthony.R.Brown
It is a Program I have been working on and off since 23/02/2002 (that long!) :(
Anthony.R.Brown
- Sun Feb 07, 2021 1:58 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: THE TIC-TAC-TOE THREAD
- Replies: 12
- Views: 45812
Re: THE TIC-TAC-TOE THREAD
Below and Attached is a Great example by Paul Meyer 2007 ... DECLARE FUNCTION XWIN% (B1 AS INTEGER, B2 AS INTEGER, B3 AS INTEGER, L AS INTEGER) DECLARE FUNCTION OWIN% (B1 AS INTEGER, B2 AS INTEGER, B3 AS INTEGER, L AS INTEGER) DECLARE SUB WINNER (LINEUP AS INTEGER) DECLARE SUB SHOWWIN (B1 AS INTEGER...
- Sun Feb 07, 2021 1:51 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: THE TIC-TAC-TOE THREAD
- Replies: 12
- Views: 45812
THE TIC-TAC-TOE THREAD
This Thread is about everything to do with TIC-TAC-TOE,because it's such an interesting Topic :) Many people have attemted to solve the problem with the shortest possible solution,whether it's a Computer program or an article published, everything is interesting to those interested in Game theory an...
- Sun Feb 07, 2021 1:46 pm
- Forum: General Discussion
- Topic: I Left The JOKE! Forum https://www.qb64.org/forum By Anthony.R.Brown
- Replies: 5
- Views: 58234
I Left The JOKE! Forum https://www.qb64.org/forum By Anthony.R.Brown
Hi Everyone
I left The JOKE! Forum https://www.qb64.org/forum because they got rid of the Off Topic Thread Completely! ???
Plus there was a lot of in House Arguing regarding the best way to run Program Competitions Etc.
How do others feel about the Forum ?
Anthony.R.Brown
I left The JOKE! Forum https://www.qb64.org/forum because they got rid of the Off Topic Thread Completely! ???
Plus there was a lot of in House Arguing regarding the best way to run Program Competitions Etc.
How do others feel about the Forum ?
Anthony.R.Brown
- Thu Jun 05, 2014 9:00 am
- Forum: Pete's QB Site News
- Topic: Pete's QBasic Site celebrates TEN YEARS
- Replies: 23
- Views: 199344
Re: Pete's QBasic Site celebrates TEN YEARS
I think Galleon's Ghost!...should be made Honourable Member!
- Thu Jun 05, 2014 4:01 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 Down for Days! ?
- Replies: 9
- Views: 21530
Re: QB64 Down for Days! ?
Stxaxtic, I wondered the same thing. I knew I should of took a screen shot of that post. But, as I mentioned in a previous post, I was on the QB64 forum when it went down. First, the database on the server died and I received a "Database Not Found" error. I was able to go the main page wh...
- Wed Jun 04, 2014 7:35 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 Down for Days! ?
- Replies: 9
- Views: 21530
Re: QB64 Down for Days! ?
If the QB64 Server was running Linux I am Sure it would Never! have happened!...
http://www.serverwatch.com/article.php/ ... utions.htm" target="_blank
http://www.serverwatch.com/article.php/ ... utions.htm" target="_blank
- Tue Jun 03, 2014 3:13 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best Random Number Generator! ?
- Replies: 7
- Views: 22009
Re: Best Random Number Generator! ?
Anthony.R.Brown wrote:The MAX 60000 Characters Stops me Posting My Program!??
So My RNG Test Program + ULTIMATE(RNG) are in the .zip file attached! Enjoy
Anthony.
- Tue Jun 03, 2014 3:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best Random Number Generator! ?
- Replies: 7
- Views: 22009
Re: Best Random Number Generator! ?
The MAX 60000 Characters Stops me Posting My Program!??
- Tue Jun 03, 2014 2:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 Down for Days! ?
- Replies: 9
- Views: 21530
Re: QB64 Down for Days! ?
Anthony, I do wonder what happened. If I hadn't been on the QB64 forum when it went down, I would of thought Galleon pulled the plug. But, while I was on there, it appeared the database crashed first. All of the sudden, I received a database not found error. I was able to go to the main page, but t...
- Sat May 31, 2014 11:20 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best Random Number Generator! ?
- Replies: 7
- Views: 22009
Re: Best Random Number Generator! ?
Here's one that doesn't use the built-in RND generator. It's based on the XOR shift method. DECLARE SUB initrandom () DECLARE FUNCTION rand& () DIM SHARED x AS LONG, y AS LONG, z AS LONG, w AS LONG SUB initrandom x = 123456789 y = 362436069 z = 521288629 w = 88675123 END SUB FUNCTION rand& ...
- Sat May 31, 2014 11:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB64 Down for Days! ?
- Replies: 9
- Views: 21530
QB64 Down for Days! ?
Yes! the QB64 Site is down! ? it has been for Days! has it finally bit the Dust!
http://qb64.net/" target="_blank
A.R.B
http://qb64.net/" target="_blank
A.R.B
- Tue Apr 01, 2014 7:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best Random Number Generator! ?
- Replies: 7
- Views: 22009
Best Random Number Generator! ?
Hi...
Does anyone know what the Best Random Number Generator is ?
As an Example how can the Simple one below be improved!
RANDOMIZE TIMER
RNDTEST = INT(RND * 1000) + 1
IF (RNDTEST < 500) THEN RESULT = RNDTEST
IF (RNDTEST => 500) THEN RESULT = RNDTEST
PRINT : PRINT
PRINT RESULT
Does anyone know what the Best Random Number Generator is ?
As an Example how can the Simple one below be improved!
RANDOMIZE TIMER
RNDTEST = INT(RND * 1000) + 1
IF (RNDTEST < 500) THEN RESULT = RNDTEST
IF (RNDTEST => 500) THEN RESULT = RNDTEST
PRINT : PRINT
PRINT RESULT
- Sat Mar 29, 2014 8:51 am
- Forum: General Discussion
- Topic: Card Guessing Games! Algorithms Etc.
- Replies: 2
- Views: 11518
Re: Card Guessing Games! Algorithms Etc.
Assign the 52 cards numbers in your program. Each number can be used in the real card image file name and they can be chosen from an array randomly, shuffled etc. If someone picks 26 red cards randomly out of 52 then they are very lucky. The odds are a lot higher than 50%! If someone picks 26 red c...
- Thu Mar 27, 2014 1:27 pm
- Forum: General Discussion
- Topic: Card Guessing Games! Algorithms Etc.
- Replies: 2
- Views: 11518
Card Guessing Games! Algorithms Etc.
Hi...
Any thoughts on some Best ways to Pick Red & Black Cards Correct from a Real Pack of (52) Cards! ?
If someone Picks All the same Colour then they must Score 50% (26) Correct...So that's the Starting amount to try and Beat!
A.R.B
Any thoughts on some Best ways to Pick Red & Black Cards Correct from a Real Pack of (52) Cards! ?
If someone Picks All the same Colour then they must Score 50% (26) Correct...So that's the Starting amount to try and Beat!
A.R.B