GithubHelp home page GithubHelp logo

gelzis / atlantis-battle-simulator Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 42.45 MB

Battle simulator for Atlantis PBEM.

Home Page: https://atlantis.pekle.lv/

License: MIT License

JavaScript 3.63% Dockerfile 0.43% TypeScript 94.87% HTML 1.07%

atlantis-battle-simulator's Introduction

Atlantis battle simulator

This repository contains battle simulator UI written in TypeScript.

How does it work?

It uses modified version of the Atlantis which is available here. Modified version includes two features that are used by this UI:

  • created battle cli command, that can read specificly structured JSON file and run the battle based on the file content, example of the json file available here. example run engine battle example.json.
  • created exportdata command, which exports two json files with all available current games items and combat related skills. engine exportdata, this is used to keep available skills/items up to date when game changes are made.

Engine executable is used on the backend and gets executed based on the json file generated by the UI written in TypeScript.

How to run locally for development

To run locally:

npm i
npm run dev
npm run dev-server

Type checking isn't setup automatically (for performance reasons) for checking typescripts types you need to run

npm run dev-types

Linting can be done with

npm run lint

atlantis-battle-simulator's People

Contributors

dependabot[bot] avatar gelzis avatar valdisz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

filharvey valdisz

atlantis-battle-simulator's Issues

`npm i` -- failed

Last one hundred lines (I have the entire debug log if needs):

117169 verbose gentlyRm don't care about contents; nuking /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/.bin/eslint
117170 silly build [email protected]
117171 info linkStuff [email protected]
117172 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117173 verbose linkBins [email protected]
117174 verbose linkMans [email protected]
117175 silly build [email protected]
117176 info linkStuff [email protected]
117177 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117178 verbose linkBins [email protected]
117179 verbose linkMans [email protected]
117180 silly build [email protected]
117181 info linkStuff [email protected]
117182 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117183 verbose linkBins [email protected]
117184 verbose linkMans [email protected]
117185 silly build [email protected]
117186 info linkStuff [email protected]
117187 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117188 verbose linkBins [email protected]
117189 verbose linkMans [email protected]
117190 silly build [email protected]
117191 info linkStuff [email protected]
117192 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117193 verbose linkBins [email protected]
117194 verbose linkMans [email protected]
117195 silly build [email protected]
117196 info linkStuff [email protected]
117197 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117198 verbose linkBins [email protected]
117199 verbose linkMans [email protected]
117200 silly build [email protected]
117201 info linkStuff [email protected]
117202 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117203 verbose linkBins [email protected]
117204 verbose linkMans [email protected]
117205 silly build [email protected]
117206 info linkStuff [email protected]
117207 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117208 verbose linkBins [email protected]
117209 verbose linkMans [email protected]
117210 silly build [email protected]
117211 info linkStuff [email protected]
117212 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117213 verbose linkBins [email protected]
117214 verbose linkMans [email protected]
117215 silly build [email protected]
117216 info linkStuff [email protected]
117217 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117218 verbose linkBins [email protected]
117219 verbose linkMans [email protected]
117220 silly build [email protected]
117221 info linkStuff [email protected]
117222 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117223 verbose linkBins [email protected]
117224 verbose linkMans [email protected]
117225 silly build [email protected]
117226 info linkStuff [email protected]
117227 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117228 verbose linkBins [email protected]
117229 verbose linkMans [email protected]
117230 silly build [email protected]
117231 info linkStuff [email protected]
117232 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117233 verbose linkBins [email protected]
117234 verbose linkMans [email protected]
117235 silly build [email protected]
117236 info linkStuff [email protected]
117237 silly linkStuff [email protected] has /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules as its parent node_modules
117238 verbose linkBins [email protected]
117239 verbose link bins [ { 'ts-node-dev': 'lib\bin.js', tsnd: 'lib\bin.js' },
117239 verbose link bins '/home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/.bin',
117239 verbose link bins false ]
117240 verbose linkMans [email protected]
117241 verbose unlock done using /home/arkady/.npm/_locks/staging-cb0dd8ca976fe7b3.lock for /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/.staging
117242 silly rollbackFailedOptional Starting
117243 silly rollbackFailedOptional Finishing
117244 silly runTopLevelLifecycles Starting
117245 silly runTopLevelLifecycles Finishing
117246 silly install printInstalled
117247 warn optional Skipping failed optional dependency /chokidar/fsevents:
117248 warn notsup Not compatible with your operating system or architecture: [email protected]
117249 warn optional Skipping failed optional dependency /watchpack-chokidar2/chokidar/fsevents:
117250 warn notsup Not compatible with your operating system or architecture: [email protected]
117251 warn [email protected] requires a peer of node-notifier@* but none was installed.
117252 warn [email protected] No repository field.
117253 verbose stack Error: ENOENT: no such file or directory, chmod '/home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/ts-node-dev/lib\bin.js'
117254 verbose cwd /home/arkady/Atlantis/bs/atlantis-battle-simulator
117255 error Linux 5.4.0-51-generic
117256 error argv "/usr/bin/node" "/usr/bin/npm" "i"
117257 error node v8.10.0
117258 error npm v3.5.2
117259 error path /home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/ts-node-dev/lib\bin.js
117260 error code ENOENT
117261 error errno -2
117262 error syscall chmod
117263 error enoent ENOENT: no such file or directory, chmod '/home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/ts-node-dev/lib\bin.js'
117264 error enoent ENOENT: no such file or directory, chmod '/home/arkady/Atlantis/bs/atlantis-battle-simulator/node_modules/ts-node-dev/lib\bin.js'
117264 error enoent This is most likely not a problem with npm itself
117264 error enoent and is related to npm not being able to find a file.
117265 verbose exit [ -2, true ]

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.