# [castle-game](https://tversteeg.itch.io/castle-game)
2D destructible terrain strategy game
[![Build Status](https://travis-ci.org/tversteeg/castle-game.svg?branch=master)](https://travis-ci.org/tversteeg/castle-game) [![](https://img.shields.io/crates/v/castle-game.svg)](https://crates.io/crates/castle-game) [![License: GPL-3.0](https://img.shields.io/crates/l/castle-game.svg)](#license) [![](https://img.shields.io/crates/d/castle-game.svg)](#downloads) [![](https://tokei.rs/b1/github/tversteeg/castle-game)](https://github.com/Aaronepower/tokei)
# Prerequisites
## Linux (Debian based)
sudo apt install xorg-dev
## Windows & Mac
None
# Run
cargo run --release
# Screenshots
### v4 - Detect collision between entities and the terrain and draw using masks
![0.4](img/screengrab4.gif?raw=true)
### v3 - Apply physics to the entities and spawn them dynamically
![0.3](img/screengrab3.gif?raw=true)
### v2 - Use `specs` for rendering multiple entities
![0.2](img/screenshot2.png?raw=true)
### v1 - Render using a simple framebuffer
![0.1](img/screenshot1.png?raw=true)