I have just completed a little bit more of Hangman, after an anoyingly long piece of homework that is! It is beginning to look alot like the game now, since it draws the gallows and the hyphens onto the screen. Though the rest of the routines stubs are printed so it isnt going to be the screen exactly. A simple FOR and NEXT loop, and i got my hyphens laid out =)
FOR c = 1 TO LEN(word$)
PRINT "_ ";
NEXT c
Anyway still got a bit to do for a working game, and looking forward to completing it, screenshot for all! (I know it isnt much of a looker graphics wise, but this is the first game i make with the book so it keeps it simple, which is fine for me. The fact that i made it makes it appealing to me, oh and it displays the word next to it as proof the hyphens are working, it wont be in the final version of course!

No comments:
Post a Comment