Skip to content
D&D Map
JavaScript Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bootstrap
realtime
.gitignore
AUTHORS.md
README.md
battlemapp.css
jquery-1.7.2.min.js
jquery.js
kinetic-v3.9.3.min.js
kinetic.js
map.html
map.js

README.md

BattleMapp

This is a D&D Battlemapp, meant to simulate a simple vinyl battle map with a hexagonal pattern. Positions of tokens used to represent characters are synchronized across all clients viewing the same map.

Running the Realtime server

  1. Install Tornado, a python library that supports Websockets. Use virtualenv if you feel like it.
  2. Run python battlemapp_realtime_server.py.
  3. Open map.html in Chrome or another Websockets-enabled browser.

TODO deployment steps for production.

Tests for the Realtime server

From the root of the repo, the following command will run the tests for the realtime server:

python -m unittest discover realtime

TODO

  • Server-side
    • A means of creating, editing, and configuring different maps and saving them for future use.
      • Size
      • Grid type (grid, hexagonal, none)
      • Background
      • Title
    • A means of sharing a map with fellow characters when the need arises
  • Client-side / Websocket server
    • Hex(agonal) pattern
    • Token customization
      • Different token sizes, shapes
      • Colours
      • "Flipped" tokens to signify incapacitated characters
Something went wrong with that request. Please try again.