VS 2005 : Class Diagram For A Game?

Dec 12, 2009

I need to make a class diagram for a scrabble game. I know the classes are game, player, board, tile, square , tile bank?

View 4 Replies


ADVERTISEMENT

Class Diagram - Called Control Fields Not Object In The Class Diagram ?

Nov 11, 2011

if I put controls on form1 like button,textbox....etcwhy called this control fields not object in the class diagram ?

View 7 Replies

IDE :: Association To Static Class In Class Diagram

Jan 24, 2010

I'm wondering why I can't create an association from a class to a static class in the class diagram editor of VS. Any reason for this?

View 1 Replies

Enhancements To Class Diagram?

Jan 28, 2009

I have built a class diagram for a proram i am building in vb, and i need some help to enhance it.The program description:"Modeling Car Parking System Modeling Car Parking System (MCPS) is the software that manages a parking for cars. The dedicated employees in that parking will use this system to control the parking. This software will facilitate the work in the parking and covers most activities performed, such as booking, cashing, and organizing. In the following, we will provide a comprehensive description of the parking (the scope of the system) followed by a description of the system with the functions that will be performed.

The Parking (The scope of the system)The parking consists of two floors, with a capacity of three hundred car places, and opens 24 hours all the week�s days. It has two main control stations; one is located at the entrance gate, and managed by an employee whose main functions are entering data to the system, then providing a receipt to the driver, and the other is located at the exit gate (cashier station), managed by an employee whose main functions are checking the receipt, entering data to the system, cashing, and providing an invoice.

The parking has three barriers, two main barriers are placed at the entrance and exit gates, and the third one is located at the second floor�s gate. They are controlled by using a remote control.When a driver wants to park his car, he has to drive it to the entrance where an employee (receptionist) will enter the car plate number to the system, then prints out a receipt to the driver. This receipt will contain information such as, the car plate number and the entry time. After that, the receptionist will open the barrier to allow the car enters the parking.

Inside the parking, the second floor will be kept empty (closed by the barrier) until the first floor will be full. When the first floor becomes full, the employee will open the barrier to allow the cars to park in the second floor. A driver can park his car in any vacant place in the available floor.When a driver wants to leave the parking, he drives his car to the exit gate and presents the receipt to the employee in the cashier station, who in turn, will check if the number recorded in this receipt (at the entrance) is similar to the real plate number of the car. After that, the employee will enter that number to the system, take the money, provide an invoice to the driver, and finally, open the barrier to allow the car leaves the parking.The list price in the parking, declares that parking a car for an hour costs 3850 LBP, and each extra parking hour will cost 3000 LBP.

Description of the System :The system will operate 24 hours, and will perform the tasks related to the work in the parking. The following scenario will explain what we mean by �will perform the tasks� in the parking.

At the entrance gate, the employee will enter the car plate number to the system as a (driver ID), and select the available floor which is in service from a menu. The system, in its turn, will store these data and additional data such as the time entered, and then issues a receipt including information such as driver ID, entry time, date, and the available floor reference.

At the exit gate, the employee will enter the car plate number (driver ID) to the system which will generate the data related to it, and prints out an invoice including the current time, date, total parking time, and the total amount of money (parking fee); since the parking fee and the duration will automatically be calculated and displayed by the system.

In addition to the tasks which the system will achieve at the entrance and exit gates, it also will provide statistical information such as the total count of cars that exist in the parking at any time, and the number of the vacant or busy parking lots (car places) in each available floor. Also, the simulation which will be part of the system will play a role in managing the parking since it will show an up to date comprehensive scheme of the parking.

The graphical simulation of the car movement flow When a car will enter the parking, and after an employee has implemented all the tasks associated by the entrance such as entering the car plate number, and selecting the available floor, the system will issue a receipt and automatically will lead the user (employee) to the simulation part. The simulation part is a form that contains cars and parking lots as graphical components, when a user click such a button �Drive-in a car� a car will move to occupy an available empty parking lot.

When a car will exit the parking, and after an employee has implemented all the tasks associated by the exit gate such as entering the car plate number, the system will issue a receipt and automatically will lead the user (an employee) again to the simulation part. When a user clicks such a button �Drive-out a car�, the car will leave to parking lot was occupied.

View 1 Replies

XML Comments In Class Diagram?

Jan 7, 2010

I am busy creating documentation for my application and want to implement xml comments in my class diagram. Is it possible to show xml comments of a class in the class designer/diagram?

View 1 Replies

Add An Existing Class To A Class Diagram?

Jan 10, 2010

We can add class in class diagram and voila the code show up. What about the other way around. Say we already have a class. Can we add that to class diagrams?

View 3 Replies

IDE :: Visual Studio 2008 Class Diagram Won't Show All Fields

Apr 16, 2009

I have a solution made up of several projects. Everything is properly referenced, the solution builds and runs. Now, when "view class diagram" for this class, it doesn't show any fields. It shows "dmxProgram" as a property, but it doesn't show any of the non-property private fields. Therefore I can't add associations to my class diagram for those fields that do not appear.

[Code]...

View 1 Replies

Looking For A .net Framework Class To Use A Game Controller?

Jul 11, 2009

I would like to use a Logitech wireless game controller. I imagine such a custom control already exists as a VB 2008 .net class library. I've tried to search MSDN but can't find anything.

View 1 Replies

Making A Blackjack Game For Class?

May 2, 2011

I'm making a blackjack game for class. It's been better programming in VB than it has in C#, but I don't know how to link button subs (BTN_Deal_Click or BTN_Deal; I can't decide which one will work) to one another. For example, after the code in BTN_Deal has been run, the program is supposed to wait for the user to click either the Hit or the Stand button.

[Code]...

View 2 Replies

Class Hierarchy - Data Design In An RPG Game

Aug 10, 2010

how to organize the classes within my RPG project that I'm making. I've tried to implement a battle system but I am not comfortable with my initial results. This is the basic layout I currently have for my classes. [Code] clsCharacter contains statistics pertaining to one character, including magic available to that character to use. Also includes what weapons that character has equipped. clsTeam contains multiple clsCharacter, as well as a list of items that each clsCharacter in the team can use. clsBattle contains two clsTeams. One team is the player and the other is the computer. Now, this is a wonderful way to organize data. However, I see limitations with this approach. For instance, to pass data from Battle to Character, it has to pass through the team class and vice-versa. Plus, if I use Properties, it transfers data as ByVal instead of ByRef, so I cannot guarantee that I'm editing the original and not a copy of the passed object (IIRC)

In addition, I feel it is just messy code to include methods within the clsCharacter class that invoke this: MyTeam.MyBattle.DoAction(). Plus, the clsCharacter might not even be in the battle at the time - I don't won't to bog down that class featuring code that is exclusive for battling when I also need to be concerned about moving around the map, saving/loading data, etc. So, any suggestions? Right now, I'm burnt out of ideas. One idea I have so far is to include a function for the clsCharacter that exports a list of all possible moves the character could make, and if the character is CPU choose the most optimal one, and if Human than wrap it up in some nifty GUI so they can choose what action to take. But at the same time, how do I use that information within the context of the battle?

View 2 Replies

Game Programming - Class Change - Add An Undo Option

Apr 11, 2008

I have a map editor program for the rpg game engine I made and am trying to add an undo option into it. The map is stored in a class so i made a array of the class then added this code for when the map is changed [Code] but when i do this all the maps in the array get changed when the player edits the map.

View 4 Replies

Game Programming :: How To Destroy An Instance Of A Form Class

Feb 17, 2009

I am writing a chat application quite similar to MSN and others alike, where you have a main window that can spawn several chat windows.So I have a chat class form (called frmChat) that I just instantiate whenever I need it, with the following code from the main form:[code]In this form I have a button labeled as 'End chat'. I would like not just to close the form, but actually to destroy its instance in order to dispose memory. I tried what would seemed to be to me the more direct and obvious way to do that (see below), but unfortunatelly VB syntax checker doesn't allow me to do that:[code]

View 3 Replies

Tic Tac Toe Game In VB 2005?

Jul 9, 2009

I'm having 2 problems with my game. 1.) Upon initialization, if I select multiplayer, the buttons are still disabled. I have to refresh to get it to work.

2.) When I'm doing single player, my AI is not working right. When the AI picks its square, it still lets me choose a square with the AI's symbol as if I'm playing a multiplayer game. I even specified in the AI sub class that turn = 1 when the AI's turn is done, meaning it should be my turn.

[Code]...

View 2 Replies

Class Hierarchy - Data Design In A RPG Game Where Classes Overlap?

Aug 19, 2010

This is a followup to the question I asked here:

[URL]

I understand the answer in the post above, which is absolutely amazing, by the way. It's about implementing interfaces with a class. However, what if a class needs to share features with another class?Yes, that class can an Interface. However, let's use this sample definition.

[code]...

Or, in other words:An equippable item can perform acts outside of its typical usage of a shield or weapon. But not all items can act as a sheid or weapon.I mean, I could create a class that implements IWeapon, IShield, IMagic, IUseableItem, etc. But there should be a better way than returning NULL when those interfaces are called.

View 2 Replies

VS 2005 Way To Make The Game Of Life?

Mar 2, 2010

I have two "Game of Life" programs. One uses a list of points that represent the live cells, and the other uses a fixed-size grid. The one using the list of points can zoom in and out, is much more elegant in coding, and has an unlimited size grid. However, it needs to search for points in the list, and the more points in the list, the more time it takes

View 5 Replies

VS 2005 Class Contain Another Class Within It - Interface And Property?

Jul 29, 2010

I know that an interface can contain another interface within it.But;can a class contain another class within it?Can an interface contain another interface within it?

View 9 Replies

Game Programming :: 360 Picture Move VB 2005

May 13, 2008

im currently making(or trying) Turbo Tanks from vb Express edition 2005 and I cant get my tank to move a full 360. I can only make it move 90degrees make a object move 360 and btw is it possible to actually make this game from VB 2005 [URL]

View 3 Replies

Game Programming :: Using 2005 And Dx9 D3d Clicking On Objects?

Aug 15, 2008

I'm not real sure how to even ask this question... but here goes.I'm using VB2005 and DirectX 9, D3D. It is 2D isometric display.Here is what I CAN do. Create a map grid. Draw each tile out and present the map on the screen. (ISO) I can even scroll around using the arrows and mouse at the edge of the screen.
- I can click on the map and get the X,Y coords of the tile I am on.... look up the grid to see what is supposed to be on this tile.The only game coding experience I have is using windows forms controls... I've done a few dozen of them. Dice games, card games..

[Code]...

View 5 Replies

VS 2005 Adding A Physics Engine To Game ?

Mar 29, 2009

I am creating a game for my 2nd year of uni. I have no idea why my lecturer wants me to create a game in VB.net using Direct X and not C# XNA but he does, so i have to abide by his rules.I am in no way mathematically advanced enough to create my own newtons physics so i wanted to get an engine to go into my VB.net code.Is this even possible?, im totally new to all of this physics stuff.does anyone know of any VB.net engines out there? and how do i link this engine into my code?

My game is

A 2D blob of water has to navigate itself up and down a set of obstacles, if it falls from a specific hight then it will explode and loose a life. It needs to be able to jump a determined hight also.

View 1 Replies

How To Draw These Arrows As In The Diagram

Mar 1, 2011

Imports System.Drawing.Drawing2D Imports System.Math

[Code]...

View 2 Replies

VS 2005 : Use The System.Management.ManagementObjectSearcher Class In VS 2005?

Mar 6, 2008

I am attempting to use the System.Management.ManagementObjectSearcher class in VS 2005 (see below) but get a error message for both the ManagementObjectSearcher class and queryObj As ManagementObject - Type ManagementObjectfSearcher is not defined and Type ManagementObject is not defined. how do I use this class in Visual Studio 2005?

Dim searcher As New System.Management.ManagementObjectSearcher( _
"rootCIMV2", _
"SELECT * FROM Win32_ComputerSystemProduct")

[code]....

View 5 Replies

VS 2005 Make A Light Version Of A Blackjack Game?

Mar 11, 2010

I'm trying to make a light version of a Blackjack game. The rules I need to use are as follows:

Ace = 1
Normal Cards = 2-10
Color Cards (king, queen, etc,) = 11

The dealer can keep hitting until it reaches 17 or under 21, he must always stay once it hits 17 or over (without busting obviously).

I know the ace normally should be 1 or 11 normally but I don't want to complicate things, I want to get the main thing of the program working first.

Public Class frmMain
'declaration to help generate number
Dim RandomClass As New Random()

[code]....

View 10 Replies

VS 2005 Send Information To USB Video Game Controller?

Dec 24, 2009

Is it possible to send information to a USB Video game controller in VB.Net? The kind of information I want to send to it is information causing the device to think that a button is pressed on the controller when it really is not. Or even better, is it possible to make a USB wire that connects to your computer and another USB port on something such a computer and send information that a video game controller would send to the other computer or whatever? Basically what I want to do is emulate a guitar hero controller sending the data of the buttons being pressed to an xbox 360 console.

View 6 Replies

[2005] Ban / Kick IP - Making A Anti Hack For A Game

Jan 28, 2009

I'm making a anti hack for a game, and i want to kick one that is connected on game and deny it from connect again.

View 2 Replies

Architecture Of My Application - Proceed With The diagram?

Apr 14, 2010

I am beginner in programming and developed an application of mine. Although, I am finished with the coding part, but I have to present my software architecture diagram. I am not a software engineer and so familiar with basics of software engineering, layering etc.I have used 1) .NET GDI Graphics in my application, 2) Text to Speech, 3) RichTextBox which retireives pictures etc. How do I proceed with the architecture diagram now?

View 1 Replies

Draw A Software Function Diagram?

Jan 8, 2009

I want to draw a software Function Diagram which show the calling relationships between functions in my VB.Net project. Like which function calls which function and what the called function does... I have look through VISIO couple times and can't know find anything I like. What type of diagram should I use? Which template should I use in VISIO?

View 2 Replies

VS 2008 Project Form Diagram?

Apr 26, 2012

this is more of a organizational question rather than a technical one. As your project grows and has more and more forms, objects and classes, how does one keep an overview?

Is there an application available which allows you to graphically organize the relationships between forms in a diagram? An "organigram" for your project?

View 2 Replies

VS 2010 Circle Diagram Drawing?

May 13, 2012

I'm trying to draw some kind of circle diagram. Input data are only two integers: "a" (even or odd) and "b" (even). Here is the

HTML Imports System.Drawing.Drawing2D
Public Class Form1
Dim P As New Pen(Brushes.Red, 1)
Dim a As Integer = 24
Dim b As Integer = 2
Dim Angle As Single = b / a * Math.PI

[Code]...

View 2 Replies

VS 2010 Make Bifurcation Diagram?

Jan 30, 2012

I am trying to write a program that allows user input information and plot a bifurcation diagram that looks like this:I haven't program in 2 years so I am all rusty and such. Here is what I have got so far and more information about what I am doing.

Bifurcation:
f(x) = kx(1-x)
and k = xL + i * (xR-xL) / 500

[code].....

View 4 Replies

Create Flowchart(diagram) Using Visio Or Other Tools?

Nov 21, 2010

i m trying to create logigrame or flowchart using vb.net,it s possible using visio,but visio must be installed in every computer that use my application,and we need to buy license of this tool.i have searched in google,i found metadraw but it s not free. so is there any activx or any dll that will replace visio and metadraw??

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved