The Haunted Night

Testing

 

1. Introduction

2. Planning

3. Writing the Story

4. Building the Framework

5. Testing

6. Adding Features

7. Polishing the Game

8. Testing Again

9. Publishing the Game

 

Testing:

The first thing that I needed to check was weather the Word Wrap functionality works. Without Word Wrap, the paragraphs would never fit just right on the screen! The words will be hard to read as they reach the end because they'll get cut off. Fortunately, Word Wrap cooperated to work the first time around.

 

How it works is like this. Whatever I type gets fed to the Word Wrap function. It then checks the sentence or paragraph and sees where they are separated by spaces, usually denoting that they are separate words. After each word has been "divided", each word then is checked whether it has reached the end of the screen which would mean the word is going to get chopped up. In order to counter this effect, instead of letting the word reach the end, a "new line" is added behind the word to make it go down. In effect, the word is not chopped up and instead just goes to the line below and continues on with everything.

 

Word Wrap Works

 

I also wanted to put borders at the top and bottom of my screens. Usually, it would be alright to just type out the borders yourself, but since I'm dealing with with a game that has multiple screens, typing them out would not only be tiring, but boring as well. I quickly made a method for the sole purpose of putting borders easily, and I was happy to find that it worked quite well.

 

Long Border Works

 

Adding Features

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Free Web Hosting