The following module-level variables are declared in Module1:
Option Explicit Dim FirstActive As Boolean Dim FirstShape As Shape Dim GameActive As Boolean
Explanation:
- The Boolean variable ErstesAktiv stores whether the first image (puzzle piece) has already been selected during the swapping process.
- The variable Erstes is a reference to the first selected puzzle piece (Shape) involved in the swapping operation.
- The Boolean variable SpielAktiv indicates whether the game is currently running and not yet finished. This is important to manage cases when the user presses the START button again during an ongoing game.