You are here:   Demos > Tank Game
Register   |  Login

About The Tank Game

This is a program that is part of the E-Book:


Creating Visual Studio LightSwitch Custom Controls (Beginner to Intermediate)

You can download the code here:
http://lightswitchhelpwebsite.com/Downloads.aspx


  • Pressing the New Day button will advance the system to a new “Day”
  • The Main Tank will increase by a random amount each “Day”
  • The City Tanks will decrease by a random amount each “Day”
  • You can turn off flow to each City Tank from the Main Tank
  • If the flow is turned on for both City Tanks, each City Tank will receive 50% of the flow from the Main Tank
  • If only one City Tank is turned on, it will receive 100% of the flow from the Main Tank
  • If both City Tanks are turned off, the flow for the day will remain in the Main Tank and be added to any existing flow in the Main Tank

LightSwitch Tank Game

Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation