Tuesday, 1 December 2009

Chapter 9 Hangman PT1

(This happened yesterday)


I just started Chapter Nine of Hands on DarkBASIC Pro, the topic being Hangman, and the first actual game I get to make! =D


Previously it has just been teaching me about many diffrent commands in DBP giving me examples, and getting me to do some quick programs with it to test them out. I have also be learning about several key aspects of good progamming.


  • Routines
  • Planning
  • And mini specs
and of course data and controll structures. Anyway im rather excited as this will be my first game I program in darkbasic! I know it helps me and tells me most of what I need to do (This time) but it is still a big step, and should teach alot of what i need to do to program games successfully. Anyway so far I haven't done much, just set up the Constants and Global Varibles and the main program (The part that calls the functions and uses them, think it as a simple circuit, a board is used and the components are placed and manipulated, the components being the functions in this case).


I also have set up stubs for every function, so I cant test the program as I go along and fill the missing code in later. (A stub is where you create a function with no code, or usually a one liner to display its name), and finally i have got two filled functions, InitialiseGame() and ThinkOfWord(). The game is nowhere near done ad the code is already getting big! So all is going well =D I will update on my status when i complete some more.


 (Two screenies for you, both of the code so far)


Click for larger pictures










No comments:

Post a Comment