103904892 IT204 VB Net Project Simple Slot Machine

61
IT204 Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011 1 CARMEN LIM (I-DIT) INFORMATICS COMPUTER SCHOOL DIT PROJECT (IT 204.net Visual Basic.Net) <HIGH ENERGY SLOT MACHINE PROGRAM> Student No. : 0000-7999 Student Name : Ma. Carmen N. Lim Student Contact No. : 8743198 (Landline) Class Code : IT204 Description : VB.NET Centre Code : 0535 Country : Philippines Date of Submission : Feb. 08, 2011

Transcript of 103904892 IT204 VB Net Project Simple Slot Machine

Page 1: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

1 CARMEN LIM (I-DIT)

INFORMATICS COMPUTER SCHOOL

DIT PROJECT

(IT 204.net – Visual Basic.Net)

<HIGH ENERGY SLOT MACHINE PROGRAM>

Student No. : 0000-7999

Student Name : Ma. Carmen N. Lim

Student Contact No. : 8743198 (Landline)

Class Code : IT204

Description : VB.NET

Centre Code : 0535

Country : Philippines

Date of Submission : Feb. 08, 2011

Page 2: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

2 CARMEN LIM (I-DIT)

TABLE OF CONTENTS

CHAPTER 1: INTRODUCTION

CHAPTER 2: BRIEF DESCRIPTION OF THE TERMS OF REFERENCE

1.1 Project Vision

1.2 Objectives

1.3 Project Scope

CHAPTER 3: ANALYSIS OF THE TERMS OF REFERENCE

CHAPTER 4: ANALYSIS OF THE REQUIREMENTS

CHAPTER 5: DISCUSSION OF EXISTING FACILITIES

CHAPTER 6 :SYSTEM DESIGN INCLUDING ALTERNATIVES

6.1 Logical Program Flowchart

6.2 Current System Design

6.3 System Architecture

6.3.1 Design

6.4 Program Listing

6.5 Alternative System Design

CHAPTER 7: IMPLEMENTATION OVERVIEW

7.1 Overview

7.2 Implementation Process

7.2.1 Operational Process Review

7.3 Setting Up the Program

7.4 User‟s Manual

7.5 Live Support and Monitoring

7.6 Technical Support and Help Desk Follow Up

CHAPTER 8: DEVELOPMENT QUALITY ASSURANCE AND ACCEPTANCE

8.1 Development

8.2 Quality Assurance

8.3 Acceptance

CHAPTER 9: TEST STRATEGY

CHAPTER 10: FUTURE DEVELOPMENTS

CHAPTER 11: SUMMARY & CRITICAL APPRAISAL

CHAPTER 12: CONCLUSION

BIBLIOGRAPHY & ACKNOWLEDGEMENTS

P. 3

P. 4

P. 4

P. 5

P. 6

P. 7

PP. 8 - 11

PP. 12- 13

P. 14

P. 14

P. 15

P. 16

P. 17

P. 18

P. 19

P. 20

P. 21

P. 21

P. 21 -23

P. 24 -27

P. 28 -35

P. 36

P. 36

P. 37

P. 37

P. 38

P. 39

P.40 - 54

P. 55

P.56 - 57

P.58

P.59 - 60

Page 3: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

3 CARMEN LIM (I-DIT)

INTRODUCTION

Slot Machines are a staple in every Casino you‟ll come across to, they

will be in different versions, design and composure. These mechanisms are

usually colorful, bright and animated which, to think, is trying to exhibit an air

of possible instantaneous fortune whilst you are amusing yourself with the

game of luck.

What will catch you by surprise is that it is possible that a slot machine

or perhaps a whole Casino package can also exist in other places, like say, of

recreation and technological whoopla such as an ordinary Computer Rental

Shop, yeah,That‟s right! You must think it‟s nuts, but this is what this

documentation will be about.

A Computer Shop that is convertible to a Casino a kind that is much

less complex that is, this my friends is what you call prospective innovation.

We will be building a slot machine for a PC Shop called HIGH

ENERGY for their Mini-Casino project. They are a PC Shop based within the

bounds of BFRV Las-Pinas City. The shop wishes to offer a different kind of

PC entertainment that has not yet been incorporated by their competitors in

the line of business. That would be enough reason why Mr. Dominic Cabuyao,

The HIGH ENERGY Shop Owner sought for assistance in making one of his

principal machines for his Computerized Mini-Casino which we accepted to

build, which is the SLOTS that will be named LUCKY SHOCKER!

Page 4: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

4 CARMEN LIM (I-DIT)

BRIEF DESCRIPTION OF THE TERMS OF REFFERENCE

1.1 Project Vision

As this project slowly takes shape in accord with the development of the

slot machine that we are designing for our patron ere, the HIGH ENERGY

NET CAFÉ, we are hoping that our desired program would live up to our

patron‟s standard and preference when it comes to accountability,

functionality, and reliability for the assumed user‟s convenience.

Hence, the program in development here, the slot machine, which we

deemed the LUCKY SHOCKER, is being crafted in utmost care and much

attention to detail to ensure it will accurately run and function flawlessly with

the help of the system application editor “VB.NET” in 2008 version for our

project.

To emphasize, Our program is being molded to present a unique form of

entertainment in the field of computer industry. This program is expected to

fulfill the level of pleasure the clients that would long for this in HIGH

ENERGY CAFÉ in the dates to follow.

This Slotmachine program will be built to be competent and would be at

ranks with all other machines of its kind, our program would be a though

contender amongst the wide world of slot machines.

Page 5: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

5 CARMEN LIM (I-DIT)

1.2 Objectives

What this project should be able to accomplish by the end of this

whole major major project is to complete the construction of the „LUCKY

SHOCKER‟ Slot Machine, as we named it, for our asset in this spread the

HIGH ENERGY Computer Shop that stands in the out-stretches of BF Resort

Village, Las Pinas City.

The Lucky Shocker Slot Machine should be developed with

great precision in reliability and creativity for the people who‟ll be making good

use of this type of Machine.

Not Only do we wish to successfully deliver our slot machine, it‟s

the project‟s goal to familarize us with the wonders of VB.NET. To let you

know, VB.NET is an object-oriented programming language which is quite

ahead of the classic Visual Basic due to its extended .NET Framework-esque

Features.

This Project as a whole will make us be more aware and

knowledgable of the workings of Visual Basic .NET. We will be exposed to its

different facets. Also, we aim to make you happy through VB.NET when this

documentation ENDS.

Page 6: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

6 CARMEN LIM (I-DIT)

1.3 Project Scope

Starting now, we shall accomplish a very liesurely yet reliable slot

machine for HIGH ENERGY net café this will pretty much like be just your

ordinary PC Game in a computer shop only, it will be set apart due to its

casino like impression and there would be actual prizes aswell.

This project is not intended to be arcade like however it will have a

touch of class in it and will try to stimulate a live slot machine as if it were

casino filipino kinda like.

To avoid unintended and unecessary usage of this program we will

implement a security & authentication system to filter out the clients who‟ll be

using this service later on when this carries out.

We are proffesionally crafting this out so as it would present that way

as well but I hope that with enough experience and knowledge in VB.Net we‟ll

be able to achieve that.

Page 7: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

7 CARMEN LIM (I-DIT)

ANALYSIS OF THE TERMS OF REFERENCE

As of the early chapters that preceded it was mentioned, again and

again that the purpose of this project is to stimulate the creation of a Slot

Machine program using VB.NET. As much as there has been said, I assume

by now that we have conceptualized that by now, yet there is something that

needs to be added an evaluation of the task we are trying to attain.

Again we are making a slot machine titled LUCKY SHOCKER for our

patron HIGH ENERGY café. We have accepted task because we simply took

notice that our skills could accommodate the construction of that type of

windows system application through the knowledge we adapted in VB.NET.

This project in expanse will be sticking with the slot machine concept

and elements such as coin slots to enable the start up of the game, bet

placements, that handle to spin the reels of the slot machine, payouts,

multipliers and stuff you‟ll encounter later on. This will all be executed virtually.

Our project concept shall be written in VB.net alone –completely,

including the layout and graphics of the game. It will be a video slot machine

with all it‟s controls on screen as well and will only be accessed by your

computer input devices.

As we are making this project we are also enhancing our skills in

VB.Net during its development stage. Now I‟m holding my breath and hope

that everything would turn out in the way we have planned.

Page 8: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

8 CARMEN LIM (I-DIT)

ANALYSIS OF THE REQUIREMENTS

We have now generalized our plan for the project now let us observe

the requirements necessary for materializing our work. The slot machine we

are trying to build is not that flashy however, it doesn‟t come with solid and

tangible materials like metal boards and paint for it‟s construction.

We are only trying to achieve a unique out of the ordinary type of slot

machine which is extraspecial all because it is in the style of computer

technology. So, there isn‟t really anything fancy that we will be needing to

carry this out. All the tools that are really necessary for this project are actually

just basic objects, devices or equipments you can actually commonly find at

home –Stunned you eh? No really!! Given the fact that you are being able to

read this document I assume that you are already using one of the tools we

need in this project which is the desktop computer. (if not you are reading the

print out version which was produced using a printer, but having a printer is

optional since there are lots of printing shops out there) Wow! ok, you can

snap out of your surprised state now that‟s too much now, but anyway, we are

not talking about just the average computer, we are talking about a desktop

computer that would also need an advanced operating system to support our

VB.NET object oriented-program which counts as our software requirement.

It is suggested that the desktop computer that we would be using should have

the latest operating system dating back to approximately the windows OS

versions as early as year 2000 like say NT 4.0, Win 2000 Pro, win XP Home

and Pro you get the picture. We now continue the analyzation of this

requirements on the next page. FLIP!

Page 9: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

9 CARMEN LIM (I-DIT)

We mentioned the use of a desktop computer a while ago let me enlist

you the specifics of our requirements. A desktop computer is not a singular

tool instead it is comprised of devices that makes it whole. Look below for the

account of our system requirements for this project.

Hardware Requirements:

1.) Desktop Computer like this:

Complete with a mouse and

keyboard or a appropriate input

device that you have. Has a CPU

with atleast a Pentium II-class

processor, 450 MHz or higher.

(Pentium III-class, 600MHz

Recommended)

with a RAM of:

Operating System RAM Size Recommended RAM

Windows NT 4.0 Workstation 64 MB 96 MB

Windows NT 4.0 Server 160 MB 192 MB

Windows 2000 Professional 96 MB 128 MB

Windows 2000 Server 192 MB 256 MB

Windows XP Professional 160 MB 192 MB

Windows XP Home 96 MB 160 MB

Page 10: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

10 CARMEN LIM (I-DIT)

CPU With Available Hard Disk Space of:

600 MB on system drive, 1.5 GB installation drive

Operating System:

Windows 2000, Windows XP and Windows NT 4.0

CD-ROM or DVD-ROM Drive: Required

Video: 800 x 600, 256 colors (recommended: High Color 16-bit)

All those hardware requirements stated above are necessary for our software

requirements.

ALTERNATIVE Hard Ware Requirement:

Laptop Computer (with the CPU features and

capacity listed above aswell)

OTHER Hardware Requirement:

Internal or External Modem and accessories (for net connectivity)

This will be necessary only if you wish to install VB.Net program in your

desktop from the Internet.

Page 11: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

11 CARMEN LIM (I-DIT)

We have already recognized our Hardware requirements now we are

coordinating it with our software requirements which will be specified in this

page.

Software Requirements:

CD Installers for any of the Windows Operating Systems Listed below (this is

only applicable if only if you have either an outdated Operating system version

or you don‟t have any Operating System installed in your desktop)

VB.NET Program CD Installer

(versions Visual Studio 2005 or Higher recommended) or a downloaded

installer for our program

(you can search installers via „Google‟ search engine.)

Non-Electronic Requirement:

An education in using VisualBasic.NET you can attain this by taking

Information Technology course or simply take a short course that offers this,

or the simplest way to learn VB.NET is via web tutorials but this option has the

potential to suspend you of information you can learn on real time.

Required Personal Skills:

A passion for technical aspects, Creativity, Perseverance, Determination,

Logic, Imaginative & innovative qualities. Open mind for learning new things.

Page 12: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

12 CARMEN LIM (I-DIT)

DISCUSSION OF EXISTING FACILITIES

The program we are developing right now for this project is the slot

machine, as we all commonly know for a fact that these kinds of contraptions

usually exist in casinos or places where you are going to be consumed by the

bliss of fun and ecstasy of fortune.

Now, that is sooo common place and we all know what casinos are, if

you don‟t then go check out a local casino hub, like PAGCOR or Casino

Filipino, see if you are old enough however …we can apply this machine in

that place.

We are reinventing that clichéd notion in this project our slot machine

will be applying itself in other places of entertainment, an ordinary PC rental

shop in our sake, the HIGH ENERGY NET CAFÉ, but they wont be so plain

anymore when we have implemented our plans of integrating a casino in it in

accord with the shop owners ambition. This slot machine we are making will

pretty much serve and function much like other PC games they offer there

with a different attitude. We can apply this program in a PC shop because

WE CAN! Right? Nothing formal besides the shop‟s owner just had this crazy

idea to broaden more opportunities for blissful fun. Which Is quite sinister to

think of mere profiteering eh? More and more people to be hooked in PC

rental shops gasp… we pray not ;)

Other places we can implement this machine is in the arcade, this

machine is flexible and it can be configured into something much innocent for

kiddies it could just give out prizes in exchange of toys.

More details for the facilities will be on the next page.

Page 13: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

13 CARMEN LIM (I-DIT)

Existing Facilities Where… We can apply our SLOT MACHINE

PROGRAM. Are disclosed in accord. Our program is in VB.NET format so our

1.] Casino Establishments. Like PAGCOR or Casino Filipino.

- As long as their machines has the proper technical environment and means

for running VB.Net programs we can integrate it to their slot machine systems

there would be guides as to how they will

operate this type of program format

however which will take time. so it‟s not

advisable but with ample engineering and

technicality I believe it‟s possible.

2.] Computer Shops. Places where

desktop computers are a staple with the

proper operating systems, like PC Rental

Shops, our VB.NET slot machine

program will run perfectly without any

serious problems. It will be next hot thing.

This is the facility where we are placing our project at.

3.] Arcades you probably have been in these places they are usually based in

malls. Slot machines can be added to these

places with humble prizes of course nothing of

gamble. Just innocent fun for all ages, but this

idea needs more development like the casino. Generally, our program can run

in pretty much any gadgetry or device that can read and run VB.NET

Programs.

Page 14: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

14 CARMEN LIM (I-DIT)

SYSTEM DESIGN INCLUDING ALTERNATIVES

Here, in this chapter, we are going to observe the designs that we‟re able to

generate for the time being. These designs are going to be dissected into

Logical areas and related elements that would be revolving in our slot

machine concept. To begin the discourse of this area, we shall start by

illustrating our pseudo-code through flow charting our program.

6.1 LOGICAL SLOTMACHINE Program Flowchart Design

START

STOP

What Button

hit?

EXIT BUTTON

PRESSED

SPINBUTTON PRESSED

STOP BUTTON PRESSED

Begins Randomizing Reel Items

Exit or Scoring System Button?

SCORING SYTEM

BUTTON PRESSED

OTHER BUTTON

PRESSED

Items in the Slot Machine Randomly rolls in the Reels.

What Button

hit?

Scoring System Form Displays

Close Button Pressed.

A

A

EXIT BUTTON PRESSED

SCORING SYTEM

BUTTON PRESSED

SLOT MACHINE REELS STOPS ON CLICK

Disables Randomizing Reel Items

Read MsgBox Syntax to display

Game Result

STOP BUTTON PRESSED

POP UP Window Shows Up Declaring Winnings or Loses.

A

Page 15: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

15 CARMEN LIM (I-DIT)

6.2 Current System Design

The design that is being evolved out of the program designer‟s (Carmz)

ideas and novice knowledge is a slot machine game through vb.net

publishing, this system is being counted on to parallel with other slot

machines but we are improvising on a much simpler but graphically

competitive one since we are noob vb.net programmers testing our capability

through taking the challenge of our patron, which is HIGH ENERGY NET

CAFÉ, in building a systematic slot machine.

At this stage, however, the slot machines development is at 80-20 in

progress there are still bugs preventing the current system being developed

as of now that is the problem being encountered here.

Necessary measures such as debugging and compiling our work would

make a big assistance in fixing the problems that exists in the current system.

Other than these, there are no known difficulties.

The current system has a good and reasonable design which is

achievable and there is a sure and steady feeling that this will eventually work

well when the current problem is addressed precisely.

Page 16: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

16 CARMEN LIM (I-DIT)

6.3 System Architecture

The scheme for our slot machine design is outlined in this manner:

As you can see the design is very basic but has every crucial element

you can find in a Standard Slot Machine Game. It follows a 3-Reel Roulette

System which then serves as the pattern for getting our winning combination

for the game. The key is to have 3 Identical Reels for players to WIN. To keep

track of the Balance earned by the player we have established a Score

Counter on top of the Reels this will track how many points the player has

already acquired. There is the Scoring System Button to Show how valuable

is the score being kept by the player & how rewarding it is.

SCORE:

PicHeading

Simply a Graphic design to TITLE our

Program this is in JPG format

GROUPBOX (contains the picture reels)

grpReelS

PicReel

1

PicReel

2

PicReel

3

btnSPIN btnEXIT btnSTOP

txtScoreCounter SCORING

SYSTEM

Panel1 THIS AREA IS NOT VISIBLE UNTIL GAME OVER

Label3 btnYES btnNO

Page 17: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

17 CARMEN LIM (I-DIT)

6.3.1 DESIGN:

The actual design looks like this:

(Conventions included)

SPIN: SCORING SYSTEM:

STOP:

lblReel1 lblReel2 lblReel3

btnSPIN btnSTOP btnQUIT

btnScoringSys txtScore

picHeading

Page 18: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

18 CARMEN LIM (I-DIT)

6.4 Program Listing

Public Class frmSlots

Dim Score As Integer

Dim token As Integer

Private Sub btnSPIN_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnSPIN.Click

Me.SpinTime.Enabled = True ‘Activates the timer

token = Val(txtCoin.Text) - 1

txtCoin.Text = token

If token < 0 And token < 0 Then

Me.SpinTime.Enabled = False

txtCoin.Text = "0"

btnSPIN.Enabled = False

btnSTOP.Enabled = False

Panel1.Visible = True

End If

End Sub

Private Sub SpinTime_Tick(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles SpinTime.Tick

Randomize() 'starts the random number generator

Me.Reel1.Text = CInt(Int((6 * Rnd()) + 1))'randomly rolls

nos. from 1 to 6

Me.Reel2.Text = CInt(Int((6 * Rnd()) + 1))

Me.Reel3.Text = CInt(Int((6 * Rnd()) + 1))

End Sub

Private Sub btnSTOP_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnSTOP.Click

Me.SpinTime.Enabled = False 'stops the timer

'checks IF the values of Reel1, Reel2, & Reel3 match.

If Me.Reel1.Text = Me.Reel2.Text And Me.Reel2.Text = Me.Reel3.Text

Then

MsgBox("Hurrah! YOU WON! Who's keeping score?!",

MsgBoxStyle.OkOnly, "Congrats")

Score = Score + 10

Else 'else the value of Reel1,Reel2, and Reel3 does not match

MsgBox("Sorry!! NO WIN! Try Again! ", MsgBoxStyle.OkOnly, "Sorry")

End If

txtScore.Text = Score

End Sub

Private Sub btnSystem_Click(ByVal sender As System.Object, ByVal e

As System.EventArgs) Handles btnSystem.Click

ScoringSys.Show()

End Sub

Page 19: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

19 CARMEN LIM (I-DIT)

Private Sub btnQUIT_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnQUIT.Click

End

End Sub

Private Sub btnCoin_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnCoin.Click

token = Val(txtCoin.Text) + 1

txtCoin.Text = token

If txtCoin.Text >= 1 And txtCoin.Text >= 1 Then

btnSPIN.Enabled = True

btnSTOP.Enabled = True

End If

End Sub

Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnYes.Click

MsgBox("Please INSERT A COIN again!", MsgBoxStyle.OkOnly)

Panel1.Visible = False

End Sub

Private Sub btnNO_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles btnNO.Click

Application.Exit()

End Sub

End Class

Page 20: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

20 CARMEN LIM (I-DIT)

6.5 Alternative System Design

Before we took the concept of making a Slot Machine Program for

HIGH ENERGY NET CAFÉ, we had options of other games other than the

slot machine, our patron gave us the choice of making a Black Jack, Yahtzee

or Poker for them but we instead accepted the idea of the Slot Machine for we

were familiar of the game and it is not that lengthy to encrypt as believed.

We didn‟t accept card game concepts from HIGH ENERGY net café

and passed it on to other programmers who could probably manage these

kinds of concept.

Picking the slot machine concept lessened our chances of

disappointing our patron when it comes to expectations and assured us that

this concept is applicable and we can envision its makings because the

program designer herself once hit the slots before, so it will be easy for her to

come up with plans and ideas for this program.

As a result Card Games were once considered and alternative for our

design but rejected due to their complexity and of our very scant knowledge of

the game types. However if this program were to fail we considered going for

the Yahtzee game concept.

Page 21: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

21 CARMEN LIM (I-DIT)

IMPLEMENTATION OVERVIEW

7.1 Overview

The following factors are critical in implementing our Slot Machine Program

may it be commercial, residential or wherever applicable:

Defining the Core Objectives and Measures for Success.

Assigning the right Champion or Stakeholder.

Proper Negotiations for Rights and Terms for the personalization of the

Offered Program.

Thorough preparation for the implementation (IT and Operational)

Managing and improving processes using the data collected

In general the success of our offered program relies in functionality and

it‟s accuracy of construction. No less, this program shall be well deemed

basing on its performance.

With proper encryption of the program, usage of the defined methods

and standards are going to be the essence of this program projects

accomplishment and glory.

Necessary Implementation plan shall enable the assurance of this

project‟s over all success this method would bring the purpose of monitoring

our program as well.

Page 22: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

22 CARMEN LIM (I-DIT)

7.2 Implementation Process

The process for implementation shall be concisely subjected into the

array of criteria to follow before we proceed with planning our project:

7.2.1 Operational Process Review

An evaluation of the Slot Machine program elements exposes its goals

in being efficient in performance. The VB.net solution should match the

expectation where it could deliver quality game play to soon-to-be users.

To secure the program would run as desired we incorporated codes in

VB.Net that we are only familiar with for the time being, we sticked to the

coding schemes in VB. that we only have knowledge with without

experimenting on other techniques yet since we admit that we are still

budding programmers, and we shall continue development of this program via

upgrades once we have mastered our craft.

This programs reliability shall be in tune with the level of knowledge we

have on VB.NET as of now. We applied proper labeling and object

conventions for the program to exactly coordinate it with the VB.NET codes

for optimal controls declarations and premium performance.

Page 23: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

23 CARMEN LIM (I-DIT)

Our Program held the following crucial VB.Net Syntaxes for it to be

implied:

Dimension was used for the declaration of variables that needs to be utilized

in our program the variables are usually the object names of our program and

these variables are set into a certain data type using the „AS‟ code.

We applied this syntax, shown above this caption, to enable the timer for our

slot machine program by setting it to “True”. This is necessary to time the

movement of the objects in our game.

Quite literally the Randomize() command enables random generating of

objects that are assigned to it for our program. This applies to numerical items

in our slot machine program.

This is the syntax used to set the items for our slot machine program that we

want to randomly display in its reels. These statements interact with the

“Randomize ()” function which then calls & allows it to be randomly generated

within our slot machine‟s form.

Dim [variable] As [datatype]

Me.SpinTime.Enabled = True

Randomize()

Me.Reel1.Text = CInt(Int((6 * Rnd()) + 1))

Page 24: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

24 CARMEN LIM (I-DIT)

To moderate the probabilities of winning and scoring in our slot machine

game we made use of IF and Else Statements then we left the code to decide

whether the reels showed a winning combination or not.

Our slot machine needed something to notify the user if they got a winning

combination in the slot machine or otherwise… We came up with inserting a

“MsgBox()” function along with the slot machine‟s game conditions, it pops up

a window stating if the player won or not.

We used the syntax above to display and compute for the score in our slot

machine. If you look closely you‟ll find that each time the slot machine hits a

jackpot the score will automatically add 10 points in the score box. These

expressions are placed within the conditions of the game.

The Show () function is necessary to redirect the user to the secondary form

of our slot machine that shows the Scoring System of the game.

If Expression Then

Statement

Process

Else

Statement

End If

MsgBox("TEXT", MsgBoxStyle.OkOnly, "CAPTION")

Score = Score + 10

txtScore.Text = Score

ScoringSys.Show()

Page 25: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

25 CARMEN LIM (I-DIT)

7.3 Setting Up the Program

It is expected that you are already aware of the requirements for the program

if you read through this documentation without slipping to droopiness. If you

missed reading the requirement specification for this program it is suggested

you go back to chapter 4.

Setting up our Slot machine program is simple if a desktop has the standard

requirements for VB.Net programs and necessary ports for file sharing.

To transpose our program to other

desktops All we need is a device to

transfer files such as a flash drive

also known as the USB (Universal

Serial Bus) look at the right side

image. Or internet connection for

online file sharing.

SETUP Instructions:

1.] First we have to save our windows application file for the slot machine

usually in the Visual Studio Projects folder located in the „My Documents‟.

To locate my documents you can simply find it in the desktop of your

computer or click on „START‟ button on the lowerleft of your desktop screen

then on the START panel you‟ll see the My Documents folder on the upper

right side.

Page 26: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

26 CARMEN LIM (I-DIT)

2.] In the My Documents Folder CLICK twice & locate Visual Studio

2008 folder to find our slot machine program project folder:

3.] After clicking the „Visual Studio 2008‟ file folder it‟s contents will be

shown in your window, among the folders double-click on the one named

„Project‟

Page 27: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

27 CARMEN LIM (I-DIT)

4.] Once we have clicked the project folder there we will see our slot

machine program folder designed for HIGH ENERGY Net Café.

Save the file name on your flash drive.

5.] when our project folder is saved on the flash drive we can now

export and import it to other desktops through copying and pasting.

ALTERNATIVE DISTRIBUTION OF THE SLOT MACHINE PROGRAM:

compress the file folder through winzip, 7z, winrar application then email it as

a file attachment to the recipient!

Page 28: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

28 CARMEN LIM (I-DIT)

OPENING THE PROGRAM

(for the client desktop where we save our slot machine project)

When the slot machine program folder is transferred to the end-

desktop all we need to do is open that project folder. Double click the icon that

has the VB, infinity symbol and superscript 9 on the upright corner.

PRESTO!! We have succesfullt opened our Slot machine program

application, debug it to run it. ;)

Page 29: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

29 CARMEN LIM (I-DIT)

7.4 User Manual

To execute our Slot Machine Program simply follow these directives,

this is after the completion of the setup:

1. Once, the visual studio solution for the Slot Machine program is

opened, we got this during set up process repeat the steps 1 to 4

without transferring, you will be faced with the GUI (Graphic User

Interface) of VB.Net for this.

We don‟t have to explain each of the parts of the GUI all we want is to publish

our slot machine program in order for it to be an executable stand alone

program without the complexity of having to open our visual studio again and

again.

Page 30: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

30 CARMEN LIM (I-DIT)

2. To publish our slot machine program look for the BUILD MENU at

the MAIN MENU bar for the VB. Net GUI which contains menus like

File, Edit, View, and so so..

3. Click the BUILD menu then it will drop down it‟s options

click the Publish HighEnergyNetCafe-LuckyShockerSlotMachine

MENU BAR

Page 31: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

31 CARMEN LIM (I-DIT)

4. Once Clicking publish , the window will ask you to specify the

location to publish your VB.net application. Don‟t mind that, click

next right up.

5. Choose how your application would be installed, for our instance we

choose from CD-ROM or DVD ROM for it is the basic. Hit NEXT.

Page 32: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

32 CARMEN LIM (I-DIT)

6. Opt if you want updates or not for application, since we are most

likely using this privately and exclusively we prefer not to have

updates. This program is not that extensible yet anyway..

Hit NEXT.

7.] your app is now ready for publish click FINISH!

*It‟s required to have a CD-ROM or DVD ROM for this process however for us

to successfully build our application.

Page 33: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

33 CARMEN LIM (I-DIT)

PLAYING THE SLOT MACHINE

This is practically the tutorial for the GAME for us to be able to play the game

properly we should first introduce you it‟s interface.

The Slot Machine GUI

A. Reels – This is what you should look after when you play the slot

machine this is where the combinations of the slot machine is

displayed. If you match all the three reels you WIN.

B. SPIN – This is the button that ROLLS the reels of the Slot Machine.

C. STOP – This is what you press when you want the Reels of the Slot

Machine to STOP.

D. QUIT- Exits The Game

E. SCORING SYSTEM- Shows the value of the score you earned.

F. SCORE COUNTER – Counts and Shows the score gained.

A

B C

D

E F

Page 34: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

34 CARMEN LIM (I-DIT)

To START playing the Slot Machine all you have to do is to push the SPIN

Button that you see underneath the Slot Machine Reels.

When the „SPIN‟ button

is pressed the Slot

Machine Reels would

begin to Roll.

For the Slot Machine

reels to stop spinning all

you have to do is press

STOP button Beside the

SPIN button.

Upon Pressing Stop you

will be notified by the

game if you WON or

NOT through Message Boxes. Just click „OK‟ when you receive them.

Page 35: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

35 CARMEN LIM (I-DIT)

To see the progress of your score just simply look at the text box atop the Slot

Machine Reels.

To See what your Score is worth push the SCORING SYSTEM BUTTON

beside the SCORE Counter.

Page 36: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

36 CARMEN LIM (I-DIT)

WINNING THE GAME

To win the game simply watch the figures in the slot machine, then when you

feel like the reels match, HIT STOP button at once.

All the three reels MUST be IDENTICAL for you to win..

To match this three reels you better keep close watch of the reels and if you

see it match up hit the STOP button right away.

You automatically get 10 points if you get the winning combinations.

This game does not solely rely on LUCK but on TIMING as well.

WISH YOU ALL THE LUCK!!

Page 37: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

37 CARMEN LIM (I-DIT)

7.5 Live Support and Monitoring

We the programmers are there to be approached whenever we are on-site

while you are using our programs live. We would even present ourselves to

you so you‟ll be aware we are there.

7.6 Technical Support and Help-Desk Follow-Up

Users are welcome to consult us when they encounter any difficulties in

accessing and operating our program creations we can be reached via..

E-MAIL: [email protected]

Landline.: 8732215

Or..

SMS: 09339731236

Page 38: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

38 CARMEN LIM (I-DIT)

DEVELOPMENT/ QUALITY ASSURANCE & ACCEPTANCE

DISCLAIMER:

It‟s Carmen Lim, As a young programmer, who tries hard to sound

professional, I‟m holding myself accountable if there are problems and defects

that came about with the programs I create. I‟m actually new with the VB.NET

environment so I admit there would be faults in this program which is the slot

machine and it is my debut program. However it does interest me and would

like to further expand on this Information Technology subject.

For technical difficulties on this program feel free to approach me so I

can assist and make sure that this program would run properly. I‟m willing to

fill the lax of my programs as I get deeper and deeper in VB.NET programing.

8.1 Development

The development of the Slot Machine Program Project is handled with

utmost care, codes are evaluated cluster by cluster. The one who created this

program is taking necessary measures and precaution so as to ensure the

execution of this program, however there is a time table we are following so

this program would be having corrections and upgrades occasionally.

Page 39: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

39 CARMEN LIM (I-DIT)

8.2 Quality Assurance

For the programmers part we would like to give you the report for our Slot

Machine Program framework to show that the parts of this program are inept

to function when it is already complete.

SLOT MACHINE PROGRAM MODEL Research & Development: -presentable and exudes the mood for quality Slot Machine gaming. -simple and on sharp in the VB.net codes used -works like the traditional 3-reel slot machine game.

HARDWARE & SOFTWARE SYSTEMS - works great in Advanced Microsoft operating systems NT/2000/XP. - program is fit to be written in CD ROM and DVD ROM. - Keeping resources simple for broader compatibility and adaptability of the program for many systems

OPERATIONS: -Controls clearly presented to users - Comprehensive program mechanics with appropriate notations for users to easily operate the program -will be tested for durability -endures regular usage.

Page 40: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

40 CARMEN LIM (I-DIT)

The slot machine program report from the previous page, are the conditions

we are considering in constructing and developing our project and we are

meeting that goal.

8.3 Acceptance of Quality & Development

The Lucky Shocker Slot Machine is a recreational concept well

accepted for game programming this is also one of those game programs

where an Object Oriented Programmer can be measured and christened. The

slot machine is a very flexible program as well so our development and quality

matters are well embraced and considered since we are just budding

programmers succeeding with the creation of this program is a leap toward

exceptional programming. We are therefore taking pleasure in making this

project,

We are confident that the target audience will appreciate our work and

efforts for this program and we are dedicated in satiating them and stir their

fancies.

We are still in the process of developing our program and was

approved by the patron. We are enthusiastic in improving our craft so for the

meantime we are encouraging the patience and support of those who are

rooting for us to complete this project.

Page 41: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

41 CARMEN LIM (I-DIT)

TEST STRATEGY

We will be using the test case method in testing our Slot Machine Program,

this method is used to test the parts of a program whether they work or not to

probably detect any malfunctions and defects distinctly and acutely.

9.1 Program Testing

TEST CASE 01

OBJECTIVE Checking if the code for enabling

the Timer does work.

TEST DATA Me.SpinTime.Enabled = True

EXPECTED TEST RESULT This statement should

ACTUAL TEST RESULT It alerted that the AppPath() function

needs to be declared public as a string.

CONCLUSION The Option Explicit On Statement

exactly points out if a variable should or shouldn‟t be declared.

Page 42: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

42 CARMEN LIM (I-DIT)

TEST CASE 02

OBJECTIVE Checking if Option Strict On

statement improves the ease of coding our slot machine program.

TEST DATA Option Strict On

EXPECTED TEST RESULT It should enable Timing for the

Operations and Movement of our Slot Machine Program.

ACTUAL TEST RESULT The statement does enable the time

for our slot machine program.

CONCLUSION There are no problems with the

statement.

Page 43: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

43 CARMEN LIM (I-DIT)

TEST CASE 03

OBJECTIVE To see if the DIM (Dimension) Code

correctly declares the variables in our form

TEST DATA Dim VariableName As DataType

EXPECTED TEST RESULT

The variables in the DIM codes should all be rightfully declared in their proper names they shouldn‟t

be mistyped

ACTUAL TEST RESULT Seems that the variables are

correctly placed in the DIM code and there are no indications of typo.

CONCLUSION

The DIM code for declaring variables did keep and ensured that the naming of the variables in it are

correct.

Page 44: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

44 CARMEN LIM (I-DIT)

TEST CASE 04

OBJECTIVE

To see wether the Randomize() function enables randomization of

data items we set for our Slot Machine‟s Reels.

TEST DATA Randomize()

EXPECTED TEST RESULT

the Randomize () function should allow randomization of the data items we assigned for our Slot

Machine Reels

ACTUAL TEST RESULT The Randomize() Function does

allow randomization of Reel values when ran.

CONCLUSION There are no sign of any errors

Page 45: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

45 CARMEN LIM (I-DIT)

TEST CASE 05

OBJECTIVE To see if the code for Randomly Generates the Data Values we assigned for our Slot

Machine Reels.

TEST DATA

Me.Reel1.Text = CInt(Int((6 * Rnd()) +

1))

Me.Reel2.Text = CInt(Int((6 * Rnd()) +

1))

Me.Reel3.Text = CInt(Int((6 * Rnd()) +

1))

EXPECTED TEST RESULT

The Random Number Generator Codes should correspond with the Randomize()

function to randomly display data items for our slot machine

ACTUAL TEST RESULT

CONCLUSION Success!! The data items does randomly

show in the reels of our slot machine.

Page 46: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

46 CARMEN LIM (I-DIT)

TEST CASE 06

OBJECTIVE To see if the code to disable the timer for our slot machine when

the STOP button is pressed.

TEST DATA Me.SpinTime.Enabled = False

EXPECTED TEST RESULT The syntax should disable the

timer of the slot machine when the STOP button is pressed.

ACTUAL TEST RESULT The timer is disabled once the stop

button is pressed.

CONCLUSION No signs of error, it does enable

randomization in our slot machine.

Page 47: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

47 CARMEN LIM (I-DIT)

TEST CASE 07

OBJECTIVE

Checking if the If Else Conditional Statements does compare values to know if the combinations of our slot machine‟s reel values are winning or losing.

TEST DATA

EXPECTED TEST RESULT

The syntax should compare the value of our Slot Machines and decide if it is a win or not.

ACTUAL TEST RESULT

Yes, The Code does indeed compare the values of our Reels accordingly and rightfully states a win if the Reel

values are equal.

CONCLUSION The code shows no errors.

Page 48: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

48 CARMEN LIM (I-DIT)

TEST CASE 08

OBJECTIVE To see if the MessageBox that declares if the game hit a

WINNING Combination in our slot machines Reels

TEST DATA MsgBox("Hurrah! YOU WON! Who's keeping score?!",

MsgBoxStyle.OkOnly, "Congrats")

EXPECTED TEST RESULT

the syntax should declare that the Reels of our Slot Machine Game has hit a winning combination.

ACTUAL TEST RESULT

CONCLUSION No visible errors!

Page 49: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

49 CARMEN LIM (I-DIT)

TEST CASE 09

OBJECTIVE To see if the MessageBox that declares if the game hit a LOSING

Combination in our slot machines Reels.

TEST DATA MsgBox("Sorry!! NO WIN! Try Again! ",

MsgBoxStyle.OkOnly, "Sorry")

EXPECTED TEST

RESULT

There should be a Message box that would appear in our slot machine that reveals that the reel combinations of our

slot machine LOST.

ACTUAL TEST

RESULT

CONCLUSION Yes! The code does notify if the game is LOSING.

Page 50: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

50 CARMEN LIM (I-DIT)

TEST CASE 10

OBJECTIVE Checking if the score in our Slot Machine

Computes into + 10.

TEST DATA Score = Score + 10

EXPECTED TEST RESULT The Equation for the scoring in our game add 10 points if our Slot Machine WON.

ACTUAL TEST RESULT

CONCLUSION There is no error detected.

Page 51: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

51 CARMEN LIM (I-DIT)

TEST CASE 11

OBJECTIVE Seeing if the scores in our Slot Machine

display on our score text box.

TEST DATA txtScore.Text = Score

EXPECTED TEST RESULT This code should display the scores in

our slot machine in its textbox.

ACTUAL TEST RESULT

CONCLUSION No error detected.

Page 52: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

52 CARMEN LIM (I-DIT)

TEST CASE 12

OBJECTIVE Checking if the Show() function to jump into our

Scoring System Form does work.

TEST DATA ScoringSys.Show()

EXPECTED TEST RESULT

The Show() function should direct us to the ScoringSys Form of our Slot Machine

ACTUAL TEST RESULT

CONCLUSION No error detected.

Page 53: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

53 CARMEN LIM (I-DIT)

TEST CASE 13

OBJECTIVE To See if the Spin Button of our Slot Machine is responding to its codes.

TEST DATA

EXPECTED TEST RESULT The Spin button should be

interactive and runs the reels.

ACTUAL TEST RESULT

CONCLUSION No error detected.

Page 54: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

54 CARMEN LIM (I-DIT)

TEST CASE 14

OBJECTIVE Checking if the stop button

responds to its codes

TEST DATA

EXPECTED TEST RESULT The STOP Button should be

interactive

ACTUAL TEST RESULT The Button does stop the reels on

click.

CONCLUSION No error detected.

Page 55: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

55 CARMEN LIM (I-DIT)

TEST CASE 15

OBJECTIVE To see if the END command does close the

program

TEST DATA End

EXPECTED TEST RESULT

The Program should Close when the Exit Button is pressed because of the END

command.

ACTUAL TEST RESULT The Game Closes when the EXIT button of our Slot Machine

is pushed.

CONCLUSION ABSOLUTELY ERROR-FREE.

Page 56: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

56 CARMEN LIM (I-DIT)

FUTURE DEVELOPMENTS

The planning and developing of our basic slot machine program for

HIGH ENERGY NET Café, which we titled LUCKY SHOCKER is already

realized and is good to be launched and do business to the masses.

Even though our Slot Machine Program is up and running and is

already fit to pleasure the wide crowd of electronic gamers, We are not yet

satisfied and plan to add more functions and features in the distant future.

Further developments would include more text displays. There are

going to be more calculations that will relate the further enhance scoring it will

be more than just summing scores up.

The program would have another gaming feature which would be the

betting system here players are going to be allowed to enter a bet value and

will be multiplied by the number of times they choose once they get a winning

combination of reel images in the game.

We would also like to add a payout system so that players will have

organization for the total of their winnings, this would take time in the making

but for now this slot machine we developed is focusing on the main elements

of the game of which are the reeling system and scoring.

Page 57: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

57 CARMEN LIM (I-DIT)

SUMMARY AND CRITICAL APPRAISAL

11.1 SUMMARY

Summing up the project documentation, we believed we did a good job

in instilling our concept and terms of reference for the program we are

designing which is the LUCKY SHOCKER Slot Machine game which is

licensed to the HIGH ENERGY Net Café since they are our patron and in

demand of this.

Our project is for company use in this case but we can distribute it

generally as long as there are necessary negotiations are carried out. The slot

machine program we designed is flexible and can be modified for different

facilities and environment.

This project doesn‟t also benefit the patrons but is just like a

preliminary exercise for the programmer, of whom is Carmen Lim. Our

programmer is in need of experience so her programming skills would grow.

She experienced technical errors and feeling okay about it since errors are

what makes programmers effective since these are encountered commonly in

program development it will enhance their problem solving skills.

All in all, our slot machine program project is beneficial to many we

designed it to be friendly and engaging. We compel it to be something that

audiences will adore and be accustomed with. THE SLOT MACHINE IS

PURELY FOR ENTERTAINMENT PURPOSE and nothing NEFARIOUS!

Page 58: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

58 CARMEN LIM (I-DIT)

11.2 CRITICAL APPRAISAL

The LUCKY SHOCKER Slot Machine provided for this project is

encoded with the standard languages used in VB,.NET language which is

made possible by Microsoft‟s .NET Framework no other coding schemes were

implemented though it is possible we are just being accurate to the subject

matter of our program. Codes were evaluated crucially and with great caution.

All the ideas for making the Slot Machine program was adapted and

formed through the lectures and tutorials of the aspect.

There were researches for the logic of the slot machine and most of it

came online those references are going to be enlisted at the end of this

documentation.

However, our inspiration for this project wasn‟t relying on technology

alone a lot of the inspiration for this project were external as for the design

most of it was basing on the characteristics of HIGH ENERGY NET CAFÉ

and of our experiences of playing the slot machine.

Page 59: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

59 CARMEN LIM (I-DIT)

CONCLUSION

The making of this project documentation closes here and for parting

words I‟d like to say that VB.Net for me would be the most dependable Object

Oriented Programming Software that I have encountered so far. Making

programs in it is pretty exciting but what I enjoyed the most is the designing

part …I bet a lot of programmers do. Encoding is really my Achilles heel but I

will not give up understanding the facet.

In making the slot machine it wasn‟t as easy as I thought, I was pretty

sure it would be fun but there are more coding logic there is to follow such as

timers, picture loadings and higher declarations. As much as I was hyped

making the project I was a bit chagrined with the obstacles that came with the

concept. Having Errors were such a set back in the projects, and it bogged

me a lot though I did everything in my power in straightening things.

All in all, this projects gratification of this project shall only be claimed if

our program succeeded in its goals, how relieving and fulfilling must that feel.

When I get better in programming more and more system applications

will be produced because of the experiences I had with VB.NET I‟m pretty it

was all rewarding.

Page 60: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

60 CARMEN LIM (I-DIT)

BIBLIOGRAPHY

Nothing Specific in reference but most of the procedures here were based on

the VB.Net Module provided by the supervisor and lecturer, most ideas were

taken from previous VB.Net Machine Problems and Exercises.

The site I visit for coding help and definitions.

http://www.vbdotnetheaven.com/

http://www.homeandlearn.co.uk/net/vbnet.html

The webpage I ran into for the Logic of making Slot Machines.

http://www.stellarpc.com/articles/board.aspx?id=5

Those were the only reliable resource I had for this Project, include the notes

and the project guidelines.

Page 61: 103904892 IT204 VB Net Project Simple Slot Machine

IT204 – Visual Basic.NET [HIGH ENERGY SLOT MACHINE PROGRAM] 2011

61 CARMEN LIM (I-DIT)

ACKNOWLEDGMENTS

Sending out my THANKS to the following:

GOD for the grace of having this project

MY PARENTS I LOVE them as well and all my efforts proceed to them.

INFORMATICS FESTIVAL MALL for providing quality education in computer

technology.

SIR JINO BARRANTES for being a proficient & accomodating lecturer and

supervisor.

THE PEOPLE WHO BELIEVE IN ME!!

MICROSOFT CORPORATION for being a tool for this project.