Developed by Armand Biteau, Jordi Bastide, and Denis Tribouillois, 3 students of IMAC Engineering school
Beta 0.0.1
- ES6 - ECMAScript2015
- Babelify - Compile ES5 to ES6
- Vue.js - Light Javascript framework
- Three.js - JavaScript 3D library
- Wagner - Effects composer for Three.js
- Glslify - Node.js-style module system for GLSL
- TweenMax/TimelineMax - Animations library
- Preload.js - Assets loader
- Gulp.js - Streaming build system (Scss/Jshint)
- Browserify - Bundling up dependencies
- Socket.io - Node.js real-time engine
- Slim - Php microframework for users api
- Vagrant - Local server php/nodejs
|-- SecondSense
|-- Berksfile
|-- Berksfile.lock
|-- Vagrantfile
|-- bower.json
|-- gulpfile.js
|-- package.json
|-- cookbook
|-- exports
| |-- db
|-- gulp
|-- public
|-- src
|-- .htaccess
|-- humans.txt
|-- index.php
|-- robots.txt
|-- api
| |-- .htaccess
| |-- index.php
| |-- Slim
| |-- models
| |-- Db.php
| |-- User.php
|-- media
| |-- fonts
| |-- glsl
| |-- icons
| |-- img
| |-- js
| | |-- main.js
| | |-- components
| | | |-- application
| | | |-- background
| | | |-- connection
| | | |-- game
| | | | |-- index.js
| | | | |-- template.html
| | | | |-- mixins
| | | | | |-- bonus.js
| | | | | |-- cube.js
| | | | | |-- lights.js
| | | | | |-- opponents.js
| | | | | |-- sound-emitter.js
| | | | | |-- terrain.js
| | | | |-- models
| | | | |-- bonus
| | | | |-- opponent
| | | |-- game-end
| | | |-- game-score
| | | |-- intro
| | | |-- loading
| | | |-- rooms
| | | |-- rooms-wait
| | |-- core
| | | |-- config
| | | |-- emitter
| | | |-- fpsControls
| | | |-- i18n
| | | |-- pointerLockControls
| | | |-- soundManager
| | | |-- vrControls
| | |-- partials
| | |-- utils
| |-- scss
| |-- sounds
| |-- vendors
|-- server
|-- index.js
|-- models
|-- Game.js
|-- Manager.js
|-- Player.js
|-- Room.js
|-- Server.js
|-- Socket.js
Before diving into the VR game, please install the latest version of Vagrant. And because we'll be using VirtualBox as our provider, please install that as well.
Please ensure Node.js is installed on your laptop, then install Gulp globally :
$ npm i -g gulp
Now it's time to have some fun :
$ git clone https://github.com/ArmandBiteau/secondsense secondsense
$ cd secondsense
$ npm install
$ gulp
If it's not, install the latest version of ChefDK.
Open a new terminal view and run vagrant :
$ vagrant plugin install vagrant-berkshelf
$ vagrant plugin install vagrant-hostmanager
$ vagrant up
$ vagrant ssh
Normally there is no password
Unfortunatly we can't share our database, that's why you will need to create yours (into the ssh):
$ sudo apt-get install mysql-server
Set "root" password for administrator
$ sudo apt-get install phpmyadmin
Don't reconfigure automatically web server / db-config : YES / root:root
$ sudo ln -s /usr/share/phpmyadmin /vagrant/public
$ sudo php5enmod mcrypt
$ sudo service php5-fpm restart
$ exit
With that, our phpMyAdmin installation is now operational. To access the interface, go to your server's domain name or public IP address followed by /phpmyadmin, in your web browser:
http://secondsense.local/phpmyadmin/index.php
Create a "secondsense" database, and import the sql export from : /exports/secondsense_V3.sql
Now you're ready to start the server. Simply run :
$ vagrant ssh
$ node /vagrant/server/index.js
Go to secondsense.local and have fun !
- Write Tests
- Add Code Comments
- Play the game
MIT