Monday, June 29, 2009

Java

introduction to objects
everything is an object
controlling program flow
initialization and cleanup
hiding the implementation
reusing classes
polymorphism
holding your objects
error handling with exceptinos
the java io system
run time type identification
passing and returning objects
creating windows and applets
multiple threads
network programming
design patterns
projects

Thursday, May 14, 2009

Fwd: CSc 322: Design Doc Question

The team

Hey guys I may not be able to come tomorrow to class.

Vlad has responsibility of the Design document, so any questions about that should be referred to him.

Vlad this is an important of the grade (I think) so please make sure its finished

Thanks

Kanhar



---------- Forwarded message ----------
From: Joel Kemp <mrjoelkemp@gmail.com>
Date: Thu, May 14, 2009 at 2:30 PM
Subject: CSc 322: Design Doc Question
To: kanhar munshi <kanhar@gmail.com>, Tolu Abayomi <tabayomi@gmail.com>, Tadeusz Jordan <tedjj123@gmail.com>, asnyder@noloh.com, Jose Maldonado <maldojr88@gmail.com>, "Sidney M." <smilien00@gmail.com>, Ming Cho <raz0r@optonline.net>


Hey Project Managers,

There has been a little confusion regarding the Design Doc revision. Basically, if you've received a good grade, you do not have to revise the document; however, you should still reprint the document and submit it tomorrow (for record-keeping). Each team should submit either a revised design doc, or a reprinted version of the originally submitted document. Let me know if you need further clarification.

See you tomorrow,
Joel Kemp

--
www.mrjoelkemp.com

Monday, May 11, 2009

Update

I expect all of you to email me immediately to confirm my emails, and your plan of action in how accomplishing whatever it is that I have given you

We dont have much time, and I almost never get any responses to my emails. I dont know why

Kanhar

Vlads Task

Vlad

I have not got an update from you yet !?

Kanhar

Update and Mel's Task

Mel

I need you to test this Game and find bugs in it.

Document the bugs carefully, and email both Jay and me, for every bug you find.

Do not try to fix it, since then we will have multiple versions, and we cannot install source control right now. Too much complexity

The game is 99% finished.

I just completed Load | Save Functionality, and even went a step further by saving Paddle and Ball positions, along with the speed,scores etc

So we are in good shape....some fine tuning and a power point presentation later we should be ready to go

Here is the link:-

http://kanharek.net/xna/Main1.8.rar

Kanhar

Saturday, May 9, 2009

Latest Code

http://kanharek.net/xna/Main1.0.4.rar

This has the latest code which includes :-

1) Game History
2) Skill Level
3) Pay Bills
4) Bill Amount varies with Skill Level
5) Request Increase in Credit
6) Trial Version Limits you to 3 Game Tries
7) Obstacle | Quick Play set as Options (Using XNA Menu Screen)
8) Artificial Intelligence Enabled, with bugs removed.
9) SA can Modify / View Game History

Not Done:
Ability to Concede (Since we need two buttons one for player 1, and player 2 to concede)
Ability to Save Game
Internationalization Support
Final Report


Kanhar

Thursday, May 7, 2009

Paddle Physics: To be added to design doc or final report?

Hey guys, I think our implementation of paddle physics should go to design doc. Here it is.

Explanation: Our paddle is divided into three virtual parts. They are the edge, somewhat middle, and almost middle. The reflection angle of the ball depends on where in the paddle the ball hit. If the ball hit at edge then the reflected angle is greater than incident angle, If the ball hit at somewhat middle then the reflected angle is equal to incident angle, if it hit almost middle then the reflected angle is smaller than the incident angle. The speed of the ball also increase/ decrees along with the angle. Note that the entire paddle has 35% edge 50% somewhat middle and 15% almost middle region.

Mp3 in xna

Hey, Kanhar. I realize how big the file became. u know the title song alone is about 10MB. because its in WAV form. if it was mp3 it would be few kb. do u know how to play mp3 in xna?

Version 1.0.2 Compiled Integrated Code

This is the latest code, which integrates both the advanced version of Jay's component and all other features.

While it is still missing functionality, it is the first integrated version, hence the email.

Vlad, you should probably review the class structure, used in the project, and update accordingly the design document. Also, please confirm receipt of this email by a text message to me, and give me an expected time to review the design document before the class on Friday.

I need it to be done by 8 tonight, so the team can review it.

Mel and Jay, I need you to make a list of functionality that is missing in this version. So collaborate on this. I just emailed you the online Google Doc Bug Report document.

Jay, and I have used the code before, so its best probably that at this point that only we modify the code, since we dont have much time. I would encourage Mel and Vlad to also modify and improve the code after this Fridays demo, over the weekend, but for now its best to restrict editing to Jay and myself since we are intimate with the code base.

Any questions, please email me (AND CALL ME) for an immediate response.

I dont want to hear that you did not get my email or that I did not have reception...or that I misread the time of the meeting.

Kanhar
Code Link: http://kanharek.net/xna/Main_Beta_Version1.0.2.rar

Friday, May 1, 2009

Response to Mel's Email

Hey

So here is my component of the Game, uploaded through SVN.

As you can tell its not completed, although the fundamentals are essentially done.

The heirarchy is simple, with Class User being the base, UserList, and Reglist, invoke objects of Type user in their Arraylists, and the XMLHelper automatically serializes them into XML using its load | Save methods.

Jay can at this point begin integrating his code with my code.

It is ESSENTIAL that we meet this Saturday morning at 10:00 in school.

I remember scheduling another meeting over spring break, which unfortunately I myself was late in attending, and as I found out later through Mel who did attend, that the NAC building was closed.

This time however, I've checked their schedule, they are indeed open, and we can meet in the library and continue development of the game, most importantly integrate the two components into one, and assign individual tasks.

I have used a subversion client to connect to Joel's SVN trunk located here

http://csc322.mrjoelkemp.com/XNA/

The username and passwords, he emailed to you.

I have not heard from Vlad about the task that I gave him.

so anyway we meet Saturday and we can discuss our progress there

Kanhar

Wednesday, April 29, 2009

Update: XML Class

Hey

Here is a link to an article I recently submitted.

As you can tell I was pretty frustrated with the XML serialization part of the process and did not want to write a separate XML Class for each object that we need to store to XML.

Hence I thought of writing my own Generic (using a Template) class that can serialize any object passed to it as a parameter

http://www.codeproject.com/KB/cs/XMLSerialization.aspx

Mel and Vlad, please review the code that's provided on the website before the weekend, since this will be a fundamental part of our Database process

Kanhar

CSc 322 Class Canceled

Mel, Jay and Vlad

I need a short summary of your available hours, for the remainder of this week, this weekend and the following week.

It is very important that we meet over this weekend, to finalize our project so please strive for maximum flexibility. All our core components are now completed, including Jay's pong component, and my XML wrapper for all db classes...alll we need to do is to put it together

Thank you for your help

Kanhar


---------- Forwarded message ----------
From: Joel Kemp <mrjoelkemp@gmail.com>
Date: Wed, Apr 29, 2009 at 2:51 PM
Subject: CSc 322 Class Canceled
To: kanhar munshi <kanhar@gmail.com>, Tadeusz Jordan <tedjj123@gmail.com>, asnyder@noloh.com, Ming Cho <raz0r@optonline.net>, Tolu Abayomi <tabayomi@gmail.com>, "Sidney M." <smilien00@gmail.com>


Project Managers:

My colleague that was to cover for me on Friday will not be able to make it due to an unforeseen ailment. As a result, I will cancel class this week Friday. However, you should know that I am available to answer any questions that you may have until the May 8th deadline. Please do not hesitate to ask me or your fellow project managers (via the google group).

My apologies for the inconvenience.

Joel Kemp

--
www.mrjoelkemp.com

Monday, April 13, 2009

Project Update

Hey guys, just making an official note (since me, kanhar, Mel already know) that we changed our project approach from “making two separate c# and xna projects” to “one project everything in xna”.
I already send the state management part before and today I emailed the updated version of pong part.

Friday, April 3, 2009

Team Meeting 4/11/2009 10:00 AM

Meeting 4/3/2009
User1
    username   
    WinCount++

User2
    usernmae
    WinCount++


Main program

    new Pong(User1, User2)

    Event_Handler PongClosed(User1, USer2)
        if User1.IsWinner = null and User2.IsWinner = Null
        End if

        if User1.WinCount > USer2.WinCount
            Update GameSTatistics
            Update  UserProfiuel
            Updater User Ksill Lekve

        else
               

        enmd if


   
       
       

Team Meeting 4/11/2009 10:00 AM =


1. Kanhar is to begin making Forms
2. Mel is to aslo begin making Forms starting this day
3. Jay takes a break

Team Meeting 4/12/2009 10:00 AM (Jay, Kanhar, Mel)
To be seen

Thursday, April 2, 2009

Collaboration GUI correction

Hey guys. i'm just reading Joel's comment on our collaboration diagram, and i found that the message Arrow should only contain number and crosponding description should be underneath
So, on the picture only the icon should have lable not the arrow

Monday, March 30, 2009

Re:Specification Revision and Design Document



I’m surprise you did not find the different icons after checking three times. Here is the copy of my login GUI (in the top).



I marked with blue database icon, red functional icon and green interface icons. In your Pay Bill GUI (I assume, I don’t see the title) all you have is the icons for interface. And why would I speculate somebody? You asked me to show the diagram to Joel, all I did is, let you know his feedback.

To start the design document, first we need is the corrected version of class diagram, and I don’t have that (I’m not sure if I missed any of Mel’s emails). So please let me know what should I start working on.

Update: Specification Document Revision and Design Document

So from what I can infer, neither Mel or Vlad were present in class.

I would assume, that in future you would let us know if you are not going to be able to make it.

Jay, I looked at your diagrams (a third time) and I did not find any reference to "Different class like views, method, database, should have different type Icons." All your objects are of type circle and therefore have the same icon. Also in future, if you want to speculate on what other group members did or did not do, please do that in private, not in a public broadcast. It is amongst other things, very unprofessional.

I have not heard back from Mel, who I asked to take my position last class, so I do not know where we stand. I ask therefore that you email me the completed collaboration diagrams as discussed in Class, and accurate to Jay's criticism of my own efforts, by Tuesday 11:59 PM.

Since I am out of time, and options, (and since this is not a real company, where I am a project manager) if I do not receive your work, I will let Joel know of the same. At the same time, you are free to speak to Joel, if you are not satisfied with how I am delegating work, or spearheading our efforts.

Jay, I will ask you in turn, to start work on the design document, or whatever it is that you have so far (which will include unless I am wrong Mel's Class Diagram and my Class objects, included in the project that I emailed to you, even though you cant get it to compile on your computer, you should still be able to see the class objects etc, and functions used for the pong game, which I imagine you will be extending on). I plan to let you concentrate on that while I work on finalizing the specification diagram. Then the whole team will meet on Wednesday for a final review.

Which reminds me to tell you to keep your schedules free after Gertner's Class on Wednesday which ends at 6:15

We will meet at 6:15 where we met last time, outside the library. If you cannot make it, then I need a written response, as to why you cannot make it.

Thank you

Kanhar






Friday, March 27, 2009

Todays Class

Hey guys,
Nobody feels like coming to class today hah? All groups showed and corrected their design document except us. But I guess it’s no reason to cry about it.
Anyway, Kanhar, “here is the feedback from Joel about your diagram:

“In the diagram, the control should have label only, no description. Description should be separate. For example: “player Hits Submit and agrees to terms and conditions” should be just like “Pay Bill GUI”. Different class like views, method, database, should have different type Icons”

Well… I don’t know what to say. I guess you didn’t have time to look at my diagrams.

Thursday, March 26, 2009

Re: Class Diagram

To Group Members:

I have received many questions regarding the collaboration diagram, and it seems that I am not delegating work effectively.

Firstly, I apologize, this week was especially difficult (since all of you are in most of my other classes, I am sure you can understand), but I plan to be more effective in the future.

For now, I want to remind all of you that the design deliverable are due for inspection tomorrow (which means they are not really due tomorrow, but it would be good if we all did our respective collaboration diagrams in DIA and discussed them in to class tomorrow and also possibly get quick feedback from Joel ).

About Vlad's question about reviewing the previous spec document, in order to better approach the collab diagrams, I have two responses. Firstly, we should refer more to Jay's email where he has already done one Login diagram in Dia, his is more correct and accurate to what Joel discussed in class. If we all maintain his style and formatting, it will keep consistency.
Secondly, Jay is bringing the spec document to class tomorrow, so you can review where you made mistakes and where you can improve. My last spec document was pretty much way off the mark, so I dont know how much you can learn from it. I got a 10/30
So again, focus on what Jay last sent.

Also, please avoid sending emails to our email addresses, use the blog, or the email: kanhar1.publish@blogger.com which directly forwards your email to the website. This keeps a log of what we do indexed by date, and also emails you a copy.

Lastly, I may not be able to make it to class tomorrow, due to work commitments, and if that happens I will mail Jay my code before class so he can print it out, and review its accuracy. If this happens, I will ask Mel to take charge of the Team, and delegate work accordingly for the weekend. Again, I will try my best to be there, so this shouldnt happen.

For tomorrow, I expect all of you (except Jay) to bring in his assigned DIA files for the collaboration diagrams, and if you are not going to come to class to mail to another member who can then bring it. Its important to do this to review for consistency.

I am attaching a VS 2008 project, wherein I solved the issue of running both Windows forms and XNA in one project ( I used threads to manage the Windows Controls). The File also has a sample XML Wrapper class that uses LINQ to read/write data in XML.

Take a look at it

Kanhar
PS: I directly included your emails because the blog doesnt allow attachments


Friday, March 20, 2009

Collaboration Diagram Sample: Login GUI

Ok. As we know there are two types of login. one with one user and one with two user.
i did collaboration diagram for both type of login. we have to include both separately. for single user login is easy. but the two user login is messy. I did it in two different way version 1 and 2
difference is by the mean of parallel login and serial login. you will understand once u see it.
keep the version you like.
Here is the sample description for 1 user login GUI
1. PR or SA enters their User ID and Password. 2. The PR/SA then clicks login and submits the information 3. The system then checks the name and password against current user database.4. If valid then identify the type of user. 5. Based on the User Type it brings up PR/SA control Panel6. User can manage their account using control panel.

The files are here

And kanhar do't forget to export the diagram then screen shot.

Fwd: CSc 322 Subversion Repo



---------- Forwarded message ----------
From: Joel Kemp <mrjoelkemp@gmail.com>
Date: 2009/3/20
Subject: CSc 322 Subversion Repo
To: kanhar munshi <kanhar@gmail.com>


URL: http://csc322.mrjoelkemp.com/XNA/

Usernames/Pwds:

kanhar rahnak
jay yaj
vlad dalv
mel lem

Joel

--
www.mrjoelkemp.com

Thursday, March 19, 2009

Primary structure

Hey Kanhar,
Here is the primary Structure i can think.
Jay

Monday, March 16, 2009

Team Assignment #1

Hey guys

So here is what Joy and I discussed, concluding which we agreed that
this would be the best way to go forward.

http://creators.xna.com/en-US/starterkit/netrumble

I am going to ask all of you, to install this project and attempt to
run it on your respective computers. Let me know if you have any
problems whatsoever.

In addition, to this, I will ask you to write a brief informal report
on this starter kit, on how it handles the basic administrative GUI
features, and how it stores information. The game itself is
IRRELEVANT. Do not waste time on that please, unless you are really
interested.

Our project structure, event handling, screen managemenet, thread
synchronization, delegate event handling controls will closely mimic
theirs.

I would hope that you can submit this write up to me, by this
Thursday, so we can discuss it after class on Friday.

Thanks

Kanhar

Sample Spec Doc and Design Doc

Sample Design Document and Design Document

Kanhar

Friday, March 13, 2009

GUI specification

Here is the specification document,

Vlad, we are waiting on your for the meeting minutes, and revision History

Mel and Jay, Good job with your reports !

Kanhar

Thursday, March 12, 2009

Use Case and FSM

Alright guys. Here is my part. Hope everybody doin ok. Kanhar i include sample Collaboration Diagram file. Its all in Dia.
Here is the file

Old and New UseCase

Here is the old and new usecase for Vlad to compare the progress of our meetting. I didn't finish writting the description yet. I saw the class diagram. Is anybody know the progress of rest of the document?




The Old one


The New One


Wednesday, March 11, 2009

FSM


Ok here is the FSM. Please let me know if you see anyting unusal

Late for FSM

Sorry guys. running late submitting FSM. i was trying to make micrsoft visio work.

Fwd: ACM Ken Perlin Games and HCI Talk

---------- Forwarded message ----------
From: Joel Kemp <mrjoelkemp@gmail.com>
Date: Wed, 11 Mar 2009 16:06:10 -0400
Subject: ACM Ken Perlin Games and HCI Talk
To: kanhar munshi <kanhar@gmail.com>, Tadeusz Jordan
<tedjj123@gmail.com>, asnyder@noloh.com, smilien00@gmail.com, Ming Cho
<raz0r@optonline.net>, Tolu Abayomi <tabayomi@gmail.com>

Project Managers,

Please forward this email to your teammates.

Due to the fact that we are embarking on game development this semester, I
think it would be good to get some experience on some of the research that's
going on in gaming, graphics, etc.

Below is a forwarded email from the City College Chapter of the Association
for Computing Machinery (ACM). Hopefully, some of you can attend and let me
know how the talk goes.

Cheers,
Joel

---------- Forwarded message ----------
From: Appachu <appachu@gmail.com>
Date: Mon, Mar 9, 2009 at 4:24 AM
Subject: Elections
To: ACM-CCNY-MEMBERS@listserv.acm.org


ACM Members,

*Thursday March 12th: Ken Perlin Lecture*
"Ken Perlin is a professor in the Department of
Computer Science at New York University, directs the NYU
Games For Learning Institute. He was also founding director
of the Media Research Laboratory and director of the NYU
Center for Advanced Technology.

His research interests include graphics, animation, user
interfaces, science education and multimedia. This talk will
center around his work at the Media Research Lab."

DATE: Thursday March 12th, 12:30-2:00 pm.
LOCATION: NAC 7/107
Refreshments will be served!

(CCNY ACM Chapter)
CCNY Student Chapter of ACM
The Club for Computing Activities
Homepage: ccny.acm.org
Unsubscribe at listserv.acm.org

--
www.mrjoelkemp.com

Meeting Today at 7:00 PM

Outside the coffee shop outside the library

It is important that you try to come

Kanhar

Skype

To Mel and Vlad please signup Skype. So that we can have conference talking/chatting. Here is my skype id joy_ny_007.

About Specification Document

As we know we have only one more day left. Lets see what we have so far

1) Use Case Diagram (UCD) : Done
2) Class Diagram (ER Model) :Done
3) FSM Diagram (FSM) :Not a big deal, but need to be done right way.
4) Revision History : Its ok
5) Meeting Minutes: We need 3 Meeting to fulfill this requirements. That means its impossible. That means its a big Issue.
6) Collaboration Diagram: Single Most time consuming task for Spec Doc. Everybody should start working on it right now. Other wise we can't finished! and this worth most of the points
7) Gui Prototypes : Once we have the FSM i can do it. Since I’m good at Photoshop, it will require time
8) Complete Specification Document : Believe me when i say it writing a polished document takes lots of time.

As we can see we don't have time. We should meet today and tomorrow to for meeting minutes.

About the Blog

Well... kanhar. You did the blog at last! Great!
Now, is storing file to netfirms account a good idea? first of all it will excide the storage space with all the pdfs and pictures. Secondly it's not safe, anybody can access them if they have the url. So thik another way. I can give you a ftp account if you don't wanna use yours but i don't know what to do about sequrity issue.

Use Case Diagram


Here is the Use case Diagram. Its prettymuch complete. One thing i have confusion is about the System it self. Is "System" it self is a user? Because on the second page of requirment document says system can do several things. Such as assign skill level, view statistics etc.
So let me know what you guys think.

Testing Group Email Send Feature

Hey

So from now onwards, every time I or anybody else creates a New Post, all members of our team will be automatically notified.

This is sort of me testing the feature. If you receive this email, as always please confirm receipt

Kanhar

Work Delegation

Looking at our respective, our schedules do not match very well.

Therefore, I think we may have to work independently.

I do know, that Mel, Jayati, and I have already had one meeting where we discussed a significant part of our approach.

So anyway, here is how I think we should delegate work:-

Mel & Kanhar:
Use Case Diagram (UCD)
Class Diagram (ER Model)

Jayati & Vlad & Kanhar:
FSM Diagram (FSM) using DIA
Collaboration Diagram using DIA
Gui Prototypes using Photoshop

I dont think any interaction is required between those that are doing the UCD, and the ER model with those that are doing the FSM, Collaboration Diagram( which is an extension of the FSM) and GUI prototypes.

I am open to any suggestions, or different ways of delegating work. I know that Jay is good with Photoshop, and Dia, and Mel already has a version of the class Diagram, and all three of us went over the Use Case Diagram in Meeting #1.

Once you are done, with respective parts, we'll upload our parts here, and I will merge them together into a spec document.

Tuesday, March 10, 2009

Specification Document (Due March 13)


1) Use Case Diagram (UCD)
2) Class Diagram (ER Model)
3) FSM Diagram (FSM)
4) Revision History
5) Meeting Minutes
6) Collaboration Diagram: Explanation of each step of UCD
7) Gui Prototypes : This Flows naturally from FSM Diagram
8) Complete Specification Document which includes all of the above

Sample Specification Document(s) are attached below:-

Joel's Design Document Sample
JJD Bidding Specification
Mels Class Diagram

Team Members

Kanhar Munshi (Project Manager) 401 215 6867
M,T,W,Th 6:30 PM to 12:00 PM
Sat, Sunday All Day
Relevant Skills: C#, OOP, some XNA

Jayati Das 347 789 7865
Tuesdays 12:15PM to 3:30 and 3:45 to 6:30
Thursday 12:15PM to 3:30 and 3:45 to 6:30
Fridays 3:30 PM to 12:00 PM
Skills: C, C++, C#, XML

Vlad Akilov 646 387 3473
Mondays, Wednesdays - 1:00PM- 3:30PM
Fridays 3:30PM - 5:00PM
Skills: Java

Mel Ibiz 347 791 9479
Mondays, Wednesdays: 12:00pm to 3:30pm, 6:15pm to 9:00pm
Tuesdays, Thursdays: 12:15pm to 3:30pm, 5:00pm to 9:00pm
Fridays: 4:00pm to 7:00pm
Skills: Never Coded in C#: Skills include Java

Update as Necessary