https://github.com/stijnvanhulle/escapegame
Escape Game is a project where you have to escape a room, you can do this by solving the questions you will get in each mission.
https://github.com/stijnvanhulle/escapegame
Last synced: 2 months ago
JSON representation
Escape Game is a project where you have to escape a room, you can do this by solving the questions you will get in each mission.
- Host: GitHub
- URL: https://github.com/stijnvanhulle/escapegame
- Owner: stijnvanhulle
- Created: 2016-11-01T13:14:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T22:08:25.000Z (over 2 years ago)
- Last Synced: 2025-02-10T06:14:58.068Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 133 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Escape Game
Escape Game is a project where you have to escape a room, you can do this by solving the questions you will get in each mission. When you solved it you will get a letter. With all the letters you can form a name and with this name you will escape the room. You can update private/gameData.json to make a new game with different questions.
### Frameworks
Backend
- Node.js (Hapi framework)
- Sockets
- Schedulecontroller gameEvents
- Mongodb + API
- MQTT connection
- Webpack
Frontend
- React.js + reduxRaspberry Pi
- Python
- GrovePiXamarin App
- Connection with iBeacons
- Connection with SocketsMachine Learning
- Opencv
- Linear regression (calculate gameLevels)### Installation
Requires [Node.js](https://nodejs.org/) v4+ to run.
First pull project in project folder.##### Rasberry pi
#
First copy python/pi to folder on Rasberry Pi.
Required:
- Raspberry Pi 3 (Also working with 2)
- GrovePi
- Python 3+
- WiFi
```sh
$ pip install paho.mqtt
$ cd python/pi/
$ python run.py [mqtt-ip]
```
##### Run with Docker
#
```sh
$ cd app/
$ docker-compose up OR npm run docker
```
##### Run without Docker
#
Install first MQTT-broker on server and then run this script:
```sh
$ cd app/
$ npm run mqtt
```
'Npm run mongo' when no monodb folder is created and else 'npm run mongodb'.
```sh
$ cd app/
$ npm run mongo OR npm run mongodb
$ npm start
```### Run Node server
Development:
'Npm run development' when no debugger needed.
```sh
$ cd app/
$ npm run development OR npm run debug
```
Production:
```sh
$ cd app/
$ npm run production
```.env:
When Docker is being used this will be automatic be changes to the correct values.
```javascript
PORT=[node port]
MQTT=[mqqt ip]
MONGO=[mongo ip]
MONGO_PORT=[mongo port]
ISDOCKER=false
PRODUCTION_GAME=[true OR false]
SECRET=[create random secret]
```### Todos
- Ios app
- React native app
- New gamesLicense
----MIT