A lightweight D library for block breaker game mechanics, ball physics, paddle control, and collision detection.
Play online: block-breaker-game.com
Add to your dub.json:
{
"dependencies": {
"block-breaker": "~>1.0.0"
}
}Or with dub.sdl:
dependency "block-breaker" version="~>1.0.0"
import blockbreaker;
auto game = new BlockBreaker(5, 8);
string result = game.update(0.016);
auto state = game.getState();Block Breaker Game -- Free online block breaker game. Play classic breakout-style arcade action in your browser.
MIT