Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
assets No more potatotal, buff boneyard to proc on skeles May 23, 2018
cia git add cia vanilla Apr 19, 2018
scripts Resume 50% hp floor, clean up scripts Jul 21, 2018
sound Added a couple more sound effects Aug 24, 2014
src oetg-v: Get it to the point that one can build a deck Nov 5, 2018
vanilla Untangle enough that the editor doesn't crash on mouseover Sep 15, 2018
.editorconfig Big split up of etg.js Dec 11, 2015
.gitignore Move Tutor, belated git add src/srv/gzip.js May 20, 2018
.prettierignore Ignore bundles, add .prettierignore Nov 23, 2017
.prettierrc Remove mousemove throttle, move muted state into redux Apr 15, 2018
.travis.yml Fix tests: Photon no longer gives quanta on placement, Steal no longe… Apr 22, 2018
README.md Remove unused logging from ai eval, move psionic reflective into esti… Apr 30, 2018
aivai.htm npm update --save && fix aivai Jan 1, 2018
artcredit.htm Include commons.js in html files Aug 4, 2018
atlas.template Chat icon fix Mar 3, 2015
build.ninja Components.Card: don't be svg May 30, 2018
index.html Include commons.js in html files Aug 4, 2018
kong.html Fix kong.html Aug 19, 2018
license Fix mutantactive. dive/steamatk were still not completely ported. Shi… Dec 30, 2013
mosaic.htm Include commons.js in html files Aug 4, 2018
package-lock.json npm update --save & clean up editor in oetg-v Nov 5, 2018
package.json npm update --save & clean up editor in oetg-v Nov 5, 2018
search.sh Fix endurance, save Nov 19, 2017
server.js npm update --save, oetg-v fix Thing reference in ai/eval, arena: age tax Sep 29, 2018
tournament.htm fromTrueMark moved from etg to etgutil Sep 4, 2017
ui.css ui.css: combine leftpane rules Apr 18, 2018
webpack.config.js oetg-v: continue trying to get initial screen working this fine sleep… Aug 29, 2018

README.md

Build

openEtG: An OpenWeb CCG

openEtG is an unofficial Open Web fork of the Flash game Elements.

Developer Instructions

Mac Installation

Open Terminal. All commands will be done in Terminal. You must have XCode installed.

  1. Install Homebrew
  2. Install required software: brew install git node redis
  3. Clone the repository: git clone https://github.com/serprex/openEtG.git && cd openEtG
  4. Install atlas files: curl --compressed 'https://etg.dek.im/assets/{atlas.js,atlas.png,atlas.css}' -o 'assets/#1'
  5. Install npm modules and build project: npm install && npm run build

Mac Start/Stop OpenEtG

  1. Start redis server in the background: redis-server &
  • To stop the redis server run pkill redis, then press ctrl+c
  1. Start node http server and open the game: open http://127.0.0.1:13602 && npm start
  • Since we open the page before the server has fully started, you may need to refresh the page
  • To stop the server, press ctrl+c in the Terminal

Windows Installation

  1. Download and Install the following:
  1. Clone the repository:
  2. Right-click inside the folder where you want the game files to go
  3. Click Git Clone to create an openEtG folder
  4. When prompted, use this URL: https://github.com/serprex/openEtG.git
  5. Install npm modules and global npm binaries:
  6. Shift+Right-Click on your openEtG folder
  7. Click Open command window here
  8. Run the command: npm install; npm install -g spritesheet-js
  9. Leave this command window open for later
  10. Run npm run build
  11. Download atlas.js, atlas.png and atlas.css and move them to the assets folder
  12. Start redis-server
  13. In the command window from previously, run the command: npm start
  14. Browse to http://127.0.0.1:13602 and the game should work!

Note: When you edit code you need to npm run build to update the bundle.