Join Anton Delsink for an in-depth discussion in this video Chess game view, part of Object Oriented Programming with C#.
- Okay, now that we have the basic layout of our test…let's go and implement those classes we are relying on,…Chess Board and Board Printer.…I'll put Chess in a separate class library.…So right, click on your solution, add project,…and we'll select Class Library and give it a name.…I'll call my class library, ChessMVC.…I did that specifically, so I can name the class, Chess,…rename the file, say yes that you want to rename…the class, and then let's go back to our Test.…
So here we want to use the Chess Class on line 38.…So I'll go into my Test's Project Dependencies,…and right click, add reference to the ChessMVC project,…click the check box, and then click okay.…So now here where we have Chess, I'll press control, dot,…now we can say using ChessMVC, control,…shift, S, disable, control, shift, B to Build…and there would be multiple complaints.…So we have a Chess Class, we still need a Board…Class, as well, so in this case I'll put the cursor…on Board and press control, dot.…
I'll say generate Class Board in a new file.…
- Abstract classes
- Processing text with StreamReader
- IEnumerable and yield return
- Windows Forms controls
- Windows Forms with and without the designer
- Adding, organizing, and testing forms
- Creating classes
Skill Level Intermediate
What you should know1m 10s
1. Theory vs. Practice
2. Examples from .NET
3. Examples from Windows UI
4. Examples from Board Games
5. Examples from the Web
Next steps1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.