Giter VIP home page Giter VIP logo

zetawar's Introduction

Zetawar CircleCI

Source code for Zetawar. Zetawar is funded by the generous support of the Zetawar Kickstarter backers.

Licenses

Zetawar is Copyright 2016 Arugaba LLC licensed under the terms of the MIT license.

Tiles and unit sprites are from Elite Command Copyright 2015 Chris Vincent under the Creative Commons Attribution 4.0 International License.

Music is Copyright 2017 Chris Haislet licensed under the Creative Commons Attribution-NonCommercial 4.0 International.

AwesomeForms sponsor logo is Copyright 2015 Awesome Forms LLC 2015 all rights reserved.

zetawar's People

Contributors

djwhitt avatar tbeddy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zetawar's Issues

Add support for units that can repair other units

This one is a little involved. To do this you need to:

I suggest we call the action :action.type/repair-other-unit and the event :zetawar.ui.events/repair-targeted.

Use component system in tests

Currently the tests just create a DB connection and use that directly. They should probably create a system instance and pull the connection out of that instead.

Consider relating unit and terrain types to games

The idea here is to support multiple games with different rulesets in the same DB. This isn't all that useful currently, but it may be in the future if we want to support something like an optional Datomic based backend.

Posh vs Deftrack'd q

The current version of posh/q doesn't totally match up against datascript/q. Particularly, it doesn't allow you to use pull inside a query.

I'm curious, could you use Deftrack to write a small wrapper around datascript's q, and get essentially the same functionality as posh -- or is posh's caching or updating much more sophisticated than what r/track would provide?

Could you wrap d/entity with r/track and use entities in the UI, or would that be inefficient.

Show unit stats in the build menu

When choosing which new unit to build, it would be helpful to see things like their movement, their range, and any other metrics that affect their performance

Discussion: Find-by vs e-by-av

I'm curious whether this

(defn e-by-av [db a v]
  (-> (d/datoms db :avet a v) first :e))

Might in many cases be more efficient than this, (even if adjusted to make use of ssolo etc, and why you wouldn't want to do a straight datom search in these cases

(defn find-by
  "Returns the unique entity identified by either attr (for singleton
  entities) or attr and val."
  ([db attr]
   (qe '[:find ?e
         :in $ ?attr
         :where [?e ?attr]]
       db attr))
  ([db attr val]
   (qe '[:find ?e
         :in $ ?attr ?val
         :where [?e ?attr ?val]]
       db attr val)))

Reorganize DB code

  • Move DB schema into 'db' namespace
  • Move DB utility functions into 'db' namespace

Add support for simple tech tree

Simplest way I can think of to do this is to have technologies that you buy and units that require those technologies in order to build them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.