jdpigeon / dharmadefender

A WebVR Tower Defense game that you can win with your mind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dharma Defender

A simple demo of passive BCI in a VR game context

Forked from the aweseom WebVRDefender game: https://github.com/tbalouet/WebVRDefender <-- you can play it at http://webvr-defender.glitch.me

Thanks to the folks behind muse-js: https://github.com/urish/muse-js

Getting started

git clone https://github.com/jdpigeon/dharmadefender.git  # Clone the repository.
cd dharmadefender
npm install # Install dependencies.
npm run start  # Start the server on http://localhost:3000

Folder Structure

  • / (root)
    • Licenses and package information
    • server.js as the main server file
  • /client/js
    • Javascript files split up in classes
  • /client/js/components
    • AFrame-VR components developed for the project
  • /public/
    • static files
  • /public/assets
    • multimedia files
  • /public/assets/icons
    • web page icons
  • /public/assets/images
    • image folder
  • /public/assets/models
    • 3D models files
  • /public/js
    • javascript files used in the Web app. Contains script.js which is the compiled version of client/js/main.js
  • /public/styles
    • css files
  • /views/
    • ejs template files folder. Contains index.ejs, main file of the Web App

Attributions

About

A WebVR Tower Defense game that you can win with your mind

License:Apache License 2.0


Languages

Language:JavaScript 99.0%Language:HTML 0.7%Language:CSS 0.3%