Course structure and content overview
Compiling and executing a C# program
Lab Day (ACSB 2.120)
Course overview, revisited
Follow-up
Lab Day (ACSB 2.120)
SVN submission
https://cssvn.utrgv.edu/svn_etomai/201810_3328/assn01_intro/<username>
Assignment 1 Recap
Follow-up
Assignment 2 Recap
An older, brief tutorial walkthrough that covers the basics.
Lecture topics
InitializeComponent)try/catch)In-class example code (for your reference)
Lab Day (ACSB 2.120)
Committing a Windows Forms Application
bin and obj directories (they are automatically generated during compilation).Follow-up
Assignment 3 Questions
foreach, List, safe cast (as)Lab Day (ACSB 2.120)
Card: value and suitDeck: shuffle, peek, draw and dealRandomPlayer and a complete bot gameFollow-up
Grades, lab credit and assn02 comments
Questions?
Class design activity, con't
Card, Deck, Hand, PlayerGameLab Day (ACSB 2.120)
Grade reports
Lab credit and SVN
Assignment 5, due by class time on Wednesday (10/4)
Assignment 4 recap
static class data (suits)List<>Equals for smart comparisons (a reference article)List<>Random and pseudo-random issuesDeckAssignment 5 questions?
Lab Day (ACSB 2.120)
Grade update
Reference variables vs. pass-by-reference
Assignment 6, due by class time on Wednesday (10/18)
Assignment 5 update
Midterm questions?
Lab Day (ACSB 2.120)
Midterm questions?
Finishing Assignment 5 example: A Simple Game
Start Lab 6 UI State. This is a small example of how Assignment 6 code should be organized to separate the GUI from the program state and logic.
Lab Day (ACSB 2.120)
Finish Lab 6 UI State. During the lab period, you can work with a partner and share code. Once you leave the lab, you're expected to work on your own.
Lab 6 Walkthrough
bin/Debug, so that's where I put my CardImages directory for this code.Tag property in your Label controls, as well as disable auto-sizing and clear Text.Lab Day (ACSB 2.120)
Midterm Recap
Wrapping up Lab 6
char conversion issuesInheritance, polymorphism, abstract classes and interfaces
Lab Day (ACSB 2.120)
Moody 8-Ball discussion
IEnumerable and IEnumerator
yield return hereBasic LINQ usage here and here.
Additional topic: Delegates and lambdas
Binary Search Trees and Assignment 8 questions?
File I/O and Assignment 9
Vectors and movement
Lab Day (ACSB 2.120)
Starting work on Assignment 10: Super Mushroom Ball!
(Commit work-in-progress today for lab credit)
Lab files, cleaned up from today (remember, you can't just add these to a project as they assume you've created a Custom Contorl, added it to a form, etc)
Form controls recap (A9)
SMB lab review: keyboard events, grounding
Lab Day (ACSB 2.120)
A9, A10 questions and work time
A10 continued
Exam Review (classroom, not lab!)