Skip to content

Simple and minimal HTML turn-based strategy meets Clojurescript and Rum. Play it here:

License

Notifications You must be signed in to change notification settings

andrkish/rum-heroes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rum heroes

Simple and minimal HTML turn-based strategy written in ClojureScript and Rum (react wrapper). Rendering via HTML dom sprites. In real projects you may have to choose Canvas or WebGL for fast and convenient 2d / 3d rendering. Rum-heroes has been written just for fun and for educational purposes with Clojure :) Play it now!

WIP Screenshot

wip screenshot

Gameplay features

Simple turn-based battle tactic on a grid board. Select your heroes and kill all enemies.

Implemented

  • Player vs Player
  • Selection (manual select in any order and auto-select)
  • Grid movement (run and hit / hit and run)
  • Melee and range attack with damage
  • Dead state
  • UI and sprites
  • Turns

Todo

  • Simple AI
  • Win / lose screen
  • Some animations and tooltips

Building and running

Rum-heroes relies on Leiningen and Figwheel for simplicity.

To get an interactive development environment run:

lein figwheel

and open your browser at localhost:3449. This will auto compile and send all changes to the browser without the need to reload. After the compilation process is complete, you will get a Browser Connected REPL.

To clean all compiled files:

lein clean

To create a production build run:

lein do clean, cljsbuild once min

And open your browser in resources/public/index.html. You will not get live reloading, nor a REPL.

See project.clj for configuration.

Graphic Assets

All graphic assets taken from open-source project Wesnoth and rogue-like clone Wessense. License need to be checked.

License

MIT License

Copyright (c) 2018 Andrew Kishchenko

About

Simple and minimal HTML turn-based strategy meets Clojurescript and Rum. Play it here:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published