libreadventure.git
4 years agoFix logic in group creation since i only checked the distance between the two first...
David MAECHLER [Sun, 5 Apr 2020 23:27:20 +0000 (01:27 +0200)]
Fix logic in group creation since i only checked the distance between the two first users and not rechecked the distance between a new memember with the ones already present in the group. Also sort the array of distances to group the ones closer first.

4 years agoMerge branch 'master' of https://github.com/thecodingmachine/workadventure into featu...
David MAECHLER [Sun, 5 Apr 2020 22:47:20 +0000 (00:47 +0200)]
Merge branch 'master' of https://github.com/thecodingmachine/workadventure into feature/back-players-proximity

4 years agofix conditions logic and make the script work. Needs to implement it in node/TS now.
David MAECHLER [Sun, 5 Apr 2020 22:39:36 +0000 (00:39 +0200)]
fix conditions logic and make the script work. Needs to implement it in node/TS now.

4 years agoMerge pull request #19 from gparant/Setup-web-socket-connection
David Négrier [Sat, 4 Apr 2020 20:40:18 +0000 (22:40 +0200)]
Merge pull request #19 from gparant/Setup-web-socket-connection

Setup web-socket connection

4 years agoFixing typo in comment
David Négrier [Sat, 4 Apr 2020 20:35:20 +0000 (22:35 +0200)]
Fixing typo in comment

4 years agofix a little error in logic of createGroups() method
David MAECHLER [Sat, 4 Apr 2020 19:06:34 +0000 (21:06 +0200)]
fix a little error in logic of createGroups() method

4 years agoWIP : created a position.js file with all util methods, now needs to implement it...
David MAECHLER [Sat, 4 Apr 2020 19:00:59 +0000 (21:00 +0200)]
WIP : created a position.js file with all util methods, now needs to implement it in typescript

4 years agoRefactor error message
gparant [Sat, 4 Apr 2020 15:56:43 +0000 (17:56 +0200)]
Refactor error message

4 years agoAdd authenticate
gparant [Sat, 4 Apr 2020 15:22:02 +0000 (17:22 +0200)]
Add authenticate

 - Create new controller authenticate with login root..
 - Update and manage error message socket io.
 - Create enum for environment variables

4 years agoMerge pull request #20 from thecodingmachine/noemie_nguyen/ajout_logos_tcm
David Négrier [Sat, 4 Apr 2020 14:38:09 +0000 (16:38 +0200)]
Merge pull request #20 from thecodingmachine/noemie_nguyen/ajout_logos_tcm

Ajout des logos TCM

4 years agoRefactor and fix error hydration message socket io
gparant [Sat, 4 Apr 2020 14:25:03 +0000 (16:25 +0200)]
Refactor and fix error hydration message socket io

 - Position message send will be on format :
message :
                    userId : user identification
                    roomId: room identification
                    position: position of user in map
                        x: user x position on map
                        y: user y position on map
 - Create Point object and interface to have position x and y of user in map.

4 years agoMerge pull request #23 from moufmouf/eslint_front
David Négrier [Sat, 4 Apr 2020 14:18:13 +0000 (16:18 +0200)]
Merge pull request #23 from moufmouf/eslint_front

Adding ESLint for front part

4 years agoAdding ESLint for front part
David Négrier [Sat, 4 Apr 2020 14:16:20 +0000 (16:16 +0200)]
Adding ESLint for front part

4 years agoMerge pull request #22 from moufmouf/fix-ci
David Négrier [Sat, 4 Apr 2020 14:08:31 +0000 (16:08 +0200)]
Merge pull request #22 from moufmouf/fix-ci

Fixing CI

4 years agoFixing missing closing parenthesis
David Négrier [Sat, 4 Apr 2020 14:06:38 +0000 (16:06 +0200)]
Fixing missing closing parenthesis

4 years agoAdding build badge to README
David Négrier [Sat, 4 Apr 2020 14:05:31 +0000 (16:05 +0200)]
Adding build badge to README

4 years agoAdding fake API_URL for tests
David Négrier [Sat, 4 Apr 2020 14:02:41 +0000 (16:02 +0200)]
Adding fake API_URL for tests

4 years agoFixing CI
David Négrier [Sat, 4 Apr 2020 13:58:59 +0000 (15:58 +0200)]
Fixing CI

4 years agoMerge pull request #21 from moufmouf/ci
David Négrier [Sat, 4 Apr 2020 13:57:39 +0000 (15:57 +0200)]
Merge pull request #21 from moufmouf/ci

Adding continuous integration

4 years agoAdding continuous integration
David Négrier [Sat, 4 Apr 2020 13:55:20 +0000 (15:55 +0200)]
Adding continuous integration

4 years agoajout des logos TCM
kevin [Sat, 4 Apr 2020 13:42:45 +0000 (15:42 +0200)]
ajout des logos TCM

4 years agoSetup web-socket connection
gparant [Sat, 4 Apr 2020 12:05:18 +0000 (14:05 +0200)]
Setup web-socket connection

 - Add authentification socket.io with jwt token

4 years agoMerge pull request #18 from gparant/create-backend
David Négrier [Sat, 4 Apr 2020 11:19:40 +0000 (13:19 +0200)]
Merge pull request #18 from gparant/create-backend

Create backend

4 years agoFixing typos
David Négrier [Sat, 4 Apr 2020 11:18:45 +0000 (13:18 +0200)]
Fixing typos

4 years agoAdd io socket message to share user position.
gparant [Sat, 4 Apr 2020 10:42:02 +0000 (12:42 +0200)]
Add io socket message to share user position.

 - Add message 'user-position' to share position in a room.
 - Change JoinRoomMessage to MessageUserPosition to have all data to share position and user information
 - Fix error alias to build

4 years agoAdd Vagarnt in project RADME and fix feeback @moufmouf
gparant [Sat, 4 Apr 2020 09:36:18 +0000 (11:36 +0200)]
Add Vagarnt in project RADME and fix feeback @moufmouf

4 years agoAdd Vagrantfile
gparant [Sat, 4 Apr 2020 02:33:57 +0000 (04:33 +0200)]
Add Vagrantfile

4 years agoCreate backend
gparant [Sat, 4 Apr 2020 02:08:12 +0000 (04:08 +0200)]
Create backend

 - NodeJs
 - Express
 - Socket.io
 - Eslint
 - TypeScript

4 years agoMerge pull request #16 from moufmouf/docker-compose
David Négrier [Fri, 3 Apr 2020 16:48:36 +0000 (18:48 +0200)]
Merge pull request #16 from moufmouf/docker-compose

Adding docker-compose

4 years agoMerge pull request #17 from moufmouf/autoresize
David Négrier [Fri, 3 Apr 2020 16:42:11 +0000 (18:42 +0200)]
Merge pull request #17 from moufmouf/autoresize

Automatically resizing game when window is resized

4 years agoAutomatically resizing game when window is resized
David Négrier [Fri, 3 Apr 2020 16:41:06 +0000 (18:41 +0200)]
Automatically resizing game when window is resized

4 years agoAdding docker-compose
David Négrier [Fri, 3 Apr 2020 16:31:11 +0000 (18:31 +0200)]
Adding docker-compose

This first commit contains a docker-compose with:

- front container
- traefik for reverse proxy

back container will be added when ready.

4 years agoAdding README
David Négrier [Fri, 3 Apr 2020 12:59:24 +0000 (14:59 +0200)]
Adding README

4 years agoInitial commit
David Négrier [Fri, 3 Apr 2020 12:56:21 +0000 (14:56 +0200)]
Initial commit