Skip to content

developers

nhmkdev edited this page Sep 19, 2015 · 7 revisions

Developers

Requirements for compilation

  • Visual Studio Express / Visual Studio 2012
  • 7-Zip (7z.exe) installed in C:\Program Files\7-Zip\ (you can disable this post-build step in the CardMaker project)

Code File Organization

The code files are roughly organized. It's not perfect. Please do not let it get to you.

Core Concepts / Realities

The code is not magical and perfectly written. There are some hacks. Detailed below are some critical hacks to acknowledge when reading the code.

Singletons

There are plenty of singletons in the application. The original implementation used Singleton forms. The latest source code was restructured to use Singleton managers to centralize event handling and make the overall functionality a bit clearer. There are others such as the core Logger and WaitDialog.

Method Length

Some of the methods have a lot to do and no one to share that logic with. Deck.ProcessLines is a good 200 line example.

Code Sections

There are a number of major components to the application. The sections below provide insight into how they work.