Izzimach / simple-sizzle-strat

A simple turn-based strategy game for the browser. Mainly a proof-of-concept.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Mayhem Squad! is a simple strategy game written in clojurescript for the browser.

The game contains a few units with varying movement rates and abilities. The AI uses a minimax algorithm to try every possible move and examines the outcome. This allows it to automatically choose the best move without additional code. For example, the AI will use an AoE attack on clustered enemies although I haven't written any code specifying when the AoE attack should and shouldn't be used.

Sample Image

Building

The project is built using Leiningen, a build tool for clojure/clojurescript. After installing Leiningen, you can build the game with the 'cljsbuild' task:

lein cljsbuild once

which produces the index.html and associated files in resources/public. To play you need to run an HTTP server there; opening index.html directly in the browser won't work due to cross-origin request problems.

About

A simple turn-based strategy game for the browser. Mainly a proof-of-concept.

License:MIT License


Languages

Language:Clojure 96.3%Language:JavaScript 3.7%