Join Anton Delsink for an in-depth discussion in this video Chess game events, part of Object Oriented Programming with C#.
- [Instructor] Now that we've imagined…the first few classes we might need in this example,…let's copy and paste this method…and just consider how we would use this,…as in, what context would we run this code in.…So I'll copy the whole method.…Control C, Control V.…And this is zero two.…Because I'm not implementing the Chess, the Board,…and the Board Printer classes yet,…let me just comment out the whole method.…Control K C.…
So you have the example,…but of course that will not run just yet.…So let's come down here.…So, in Test 002 in this method,…let's just imagine where we would actually…be running this code.…If I'm writing a Windows application,…or a client application, like a mobile game,…then the game object here, that's supplying the rules.…The Board, that represent the state,…and the visualizer, the BoardPrinter,…or some other way to visually represent the game…will all be running on the same computer.…
A mobile device, on a PC, a Mac, et cetera.…And so, in that case, we might be interactive…with the user on a fairly live basis, a direct way.…
- 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.