Git Product home page Git Product logo

hclivess / epicenclaves Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 138.14 MB

Epic Enclaves is a captivating medieval fantasy RPG that immerses you in a realm of magic, valor, and epic quests. Create your unique character and embark on a journey through enchanted forests, ancient castles, and treacherous dungeons.

Home Page: https://epicenclaves.com

License: Other

Python 65.85% HTML 15.37% Batchfile 0.01% Dockerfile 0.05% CSS 10.96% JavaScript 7.77%
bismuth game mmo nado diablo rpg strategy dwarf-fortress roguelike

epicenclaves's Introduction

EPIC ENCLAVES

Thumb Thumb Thumb

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 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":"hatchet",
               "damage":1,
               "durability":100,
               "role":"melee"
            }
         ],
         "unequipped":[
            {
               "type":"dagger",
               "damage":2,
               "durability":100,
               "role":"melee"
            }
         ],
         "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

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.