# Controls

- Mouse to click stuff (that's pretty much it actually)
- Arrow keys or WASD to move view
- P to pause game
- If you're the impatient kind, 1, 2, 3 to vary game speed

# About the Game

This is Art Defense. The game where Tower Defense and Painting come together.

Your goal is to prevent the evil army of floating canvases from reaching the blue tile. Because reasons. To do that, you must build towers (or rather.. blobs? Because art style!), which will shoot color at the canvases. This not only makes the canvases beautiful, it also kills them, saving your valuable blue tile from becoming contaminated.

Note that some canvases come already painted in one solid color. This will prevent your similarly colored blobs from attacking, as they know applying red to an already red painting is a huge waste of paint.

To survive in this cruel world, you must not only build new towers, but also upgrade existing ones.

To build and upgrade stuff, you have to use your hand cards, which you see at the bottom of the game screen. Click once to read, click a second time to use it. For towers and upgrades you then have to place it on the map.

Finally, a few tips and fun facts in case you struggle with beating the game:

- There is only this one level, consisting of 12 waves
- You can build and upgrade stuff using your hand cards whenever you like, not just between waves
- You draw new cards after each wave, and every time you lose a life
- Towers can usually only be upgraded once
- To apply more upgrades to one tower, you need special More Upgrades cards
- Upgrading a single tower multiple times is considered good practice among Art Defense veterans
- Every time an enemy reaches the target and causes you to lose a life (and sometimes more than one), you automatically draw a card (and when you really need them, even two or three). So even if a bunch of them makes it past your defense, with every single one there will be a chance to react. Pausing the game (P) might be helpful at times.
- If nothing works, feel free to cheat by typing game.deck.drawCard() or game.lives++ into your browser console. In doing so however, you agree to telling all your friends about how amazing Art Defense is.
- Above this text there is (or will be) a fancy gallery of all the paintings that made it through. So if you're losing, at least it comes with the opportunity to enjoy the art a little longer. Feel free to rightclick and save them or something. Print them and decorate your wall. No?

I want to thank you very much for playing Art Defense, and hopefully enjoying it to some degree. I also want to apologize for the art generated in this game being rather lame. I spent about 4 hours on Saturday trying to find a way to physically simulate the effect color blobs have on a canvas when colliding at an angle, and was roughly one math PhD away from figuring it out.

# Technologies and Tools

- JavaScript, HTML5, CSS
- VisualStudio Code
- Abundant-Music for the soundtrack
- BFXR for the sound effects
- Numerous self written tools for all the rest
- No libraries were used, the game is rendered using the standard Canvas API; all the code was written from scratch within 48 hours for Ludum Dare 41.