Qbasicnews.com

Full Version: Creating a Yhatzee clone (nearly complete)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I am neraly finished with creating a Yhatzee clone. Only known tourble I have is can't ge the score to completely align not matter the score. But, that I will figure out eventually. The problem I tried to complie it under qbasic 7.1 and while it works when run from with in qbasic it won't compile. I want to make the program playable without using qbasic. It already runs in QBASIC evioronment. I have compiled other programs I have created and they all compiled. If any of you need the source I can email it to you. Though it is low on documentation I never exepcted it to run and not compile.

I get:

BC: Internal Error near 878D
All that means is there's an error. You need to post the source code for us to help you.
you may need to break it up into modules. please email me the source.

thebigbasicq9 [AT] hotmail.com
Tried to add source to post but it keeps kicking me back to log in screen.
Quote:Tried to add source to post but it keeps kicking me back to log in screen.
really? hmm... it shouldn't... are you logged in (silly question)
The file may be too big to be put here and the board doesn't have the proper error catching for such a situtation.
When i tried to email the file as in email text it was too large and I got size too large message from AOL.
try saving it as a .txt, then copy/paste it from there into here. make sure your logged in this time :wink:
geez thats got to be some killer code if it's that large. can you condece the code?
im sure the code is not that big. unless he did something like...:

if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 1 and dice5 = 2
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 1 and dice5 = 3
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 1 and dice5 = 4
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 1 and dice5 = 5
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 2 and dice5 = 2
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 2 and dice5 = 3
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 2 and dice5 = 4
if dice1 = 1 and dice2 = 1 and dice3 = 1 and dice4 = 2 and dice5 = 5

ect. ect. ect...

then, he would be just plain crazy...
select case dice
case 1
...
end select
Pages: 1 2 3