Git Product home page Git Product logo

epicenclaves's Introduction

EPIC ENCLAVES

The first blockchain game worth playing

Castle Image

Coming Soon to NADO and Bismuth

A turn-based strategy game with strong RPG elements, where all graphics are hand-painted, featuring generative item properties and tactical complex battles based on probability. The game is focused on resource management and offers an MMO experience, accommodating an unforeseen amount of players in a browser with an API to integrate freely into any other platforms.

© 2023 Epic Enclaves | Powered by OpenAI.com All images in this software are proprietary and require a any use of them requires a permission from author.

Structure:

There are two dictionaries and two main databases, structured as follows. usersdb includes positions and all information about players and even their constructed buildings and owned tiles to be displayed in the user panel without minimal performance impact. mapdb includes all information that is displayed on the map (except users). There are two dictionaries because player display is meant to be more detailed while mapdb is supposed to be compact and even limited to a certain number of tiles around the player.

usersdb - data indexed by username:

{
   "users":{
      "test":{
         "x_pos":1,
         "y_pos":1,
         "equipped":[
            {
               "type":"axe",
               "damage":1,
               "durability":100,
               "role":"melee"
            }
         ],
         "unequipped":[
            {
               "type":"dagger",
               "damage":2,
               "durability":100,
               "role":"melee"
            }
         ],
         "pop_lim":0,
         "alive":true,
         "online":true
      }
   },
   "construction":{
      "1,1":{
         "type":"boar",
         "role":"enemy",
         "armor":0,
         "max_damage":1
      },
      "1,11":{
         "type":"forest",
         "role":"scenery"
      }
   }
}

mapdb - data indexed by x,y:

{
   "1,1":{
      "type":"boar",
      "role":"enemy",
      "armor":0,
      "max_damage":1
   },
   "1,21":{
      "type":"forest",
      "role":"scenery"
   }
}

user_data.db

x_pos, y_pos, data

map_data.db

x_pos, y_pos, data

epicenclaves's People

Contributors

hclivess avatar majordutch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

epicenclaves's Issues

limit display?

right now all users are publicly readable and all their weapons and equipment and stats
this can be fixed by only passing some information for other users to user panel / map and all information about self

special units

special units ("units": []) can be upgraded from basic military to specialists like archers, knights, etc.
these units no longer serve as general military but as personal guard and take effect only in pvp battles, perhaps also against garrison? simply in all battles where player participates personally... except npc? open to ideas

sawmill mechanics

idea: sawmill produces the amount of wood equal to the number of your conquered forests

nft handling design

simply add an option to "register" the NFT items, they already have to be in the blockchain account

add the option to "register" blockchain address, but there already has to exist a transaction confirming ownership

simply generate a transaction with the epicenclaves username in NADO and then submit that transaction id in the epicenclaves GUI to bind a blockchain address

fog of war

make it obvious that the map doesnt end, just that players cannot see to the end of it

stats page

with complete dict since map has a distance draw limit

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.