Skip to content

ZephyrPhantom/openEtG

 
 

Repository files navigation

openEtG: An OpenWeb CCG

Description

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.

  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 pixi.js: curl -O --compressed 'http://etg.dek.im/pixi.min.js'
  5. Install npm modules and build project: npm install && npm run build
  6. Start redis server in the background: redis-server &
  7. Start node http server and open the game: open http://127.0.0.1:13602 && npm start
  • Since we open the page before thes 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 pixi.js:
  6. Download pixi.min.js and place it in your openEtG folder
  7. Optionally, you can build your own pixi.js
  8. Install npm modules and global npm binaries:
  9. Shift+Right-Click on your openEtG folder
  10. Click Open command window here
  11. Run the command: npm install; npm install -g spritesheet-js
  12. Leave this command window open for later
  13. Run npm run build-etgify
  14. Download atlas.js, atlas.png and atlas.css and move them to the assets folder
  15. Start redis-server
  16. In the command window from previously, run the command: npm start
  17. Browse to http://127.0.0.1:13602 and the game should work!

Note: When you edit code you need to npm run build-etgify to update etgify.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • HTML 1.2%
  • CSS 0.8%