Coder Social home page Coder Social logo

monopoly's People

Contributors

cabarclay avatar dependabot[bot] avatar lamarios avatar lexnastin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monopoly's Issues

Unable to see changes

I am running the project on my localhost, and I am trying to add my own edits to it(I am making my own custom clone) but when I make changes to the code, the changes are not showing on localhost: 8443

[SOLVED] Does its work with nginx ?

Hi,

First of all thank's for this great game :)

I am lauching the project like this :

docker run --name monopoly -dt --restart always \
  -e UID=1000 \
  -e GID=1000 \
  -p 127.0.0.1:4060:8443 \
  -e 'HTTP'='true' \
  gonzague/monopoly

Here is my monopoly.conf :

server {
    listen         80;
    server_name    monopoly.domain.tld;
    return         301 https://$server_name$request_uri;
}

server {
    listen 443 ssl http2;
    server_name monopoly.domain.tld;
	
    ssl on;
    ssl_certificate    /etc/nginx/ssl/server.crt;
    ssl_certificate_key    /etc/nginx/ssl/server.key;
	
    access_log /var/log/nginx/monopoly-access.log combined;
    error_log /var/log/nginx/monopoly-error.log error;

    location / {
    proxy_pass http://localhost:4060;
    }
}

What i am missing ?
When i go on monopoly.domain.tld i got : Loading Game and nothing happened.
Hope someone can help me, and thx again for this project.

Best regards.

contact

Is there a way to send you a message like email or something?

Stuck on Loading Game

While using the manager, I am able to successfully start a game and produce a link, but then the app hangs on a white screen after Loading Game. Same behavior when just launching the game. Docker containers in both instances aren't throwing any errors. Only output is:

request received: /
request received: /jsx.6aed5b15.js
new connection

on refresh.

DockerFile issues

Hi, I've forked your repo and I'm trying to build the docker image, but the game dockerfile leaves me with the following error after i run docker build - < Dockerfile in the game directory

$ docker build - < Dockerfile
Sending build context to Docker daemon   2.56kB
Step 1/19 : FROM node:alpine AS build
 ---> ea308280893e
Step 2/19 : RUN mkdir /src
 ---> Using cache
 ---> 926c63d8a238
Step 3/19 : ADD . /src/
 ---> 92d1bef3dded
Step 4/19 : WORKDIR /src/client
 ---> Running in a4ce96ebacd8
Removing intermediate container a4ce96ebacd8
 ---> 5d211e7cf5c4
Step 5/19 : RUN  npm install && npm run build
 ---> Running in aab3179aeadb
npm WARN saveError ENOENT: no such file or directory, open '/src/client/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/src/client/package.json'
npm WARN client No description
npm WARN client No repository field.
npm WARN client No README data
npm WARN client No license field.

up to date in 0.366s
found 0 vulnerabilities

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /src/client/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/src/client/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-23T15_56_40_779Z-debug.log
The command '/bin/sh -c npm install && npm run build' returned a non-zero code: 254

I did not change anything in the dockerfile or the directory structure. i tried to add a RUN ls /src/client/ but found that that directory is somehow empty, also checked the permissions on my machine and they look fine

Project license

Hi,
thanks for this good working monopoly online version. I have played so many times with friends and we have fun.
By changing some things I noticed that this project hasn't got a license. Could you add it a license?
A license would help me to send you some changes :)

Thanks again ^^

Jail free pass - Feature request

Hi again,

yesterday we noticed that the game doesn't have any way, except the log, to see if one player has a jail free pass or not.

We were thinking if there is a way to have some sort of mark to notify all player that the free pass has been used or not.

Thanks again :)

Game Improvement proposal

Hi,

by playing with my friends we noticed this things:

  • Vine Street has worng rent price, there is an extra 1;
  • Is it possible to keep in memory a longer log? Otherwise can you tell me where is kept the full log?
  • Is it possible to implement a more automated money transition? Especially with the bank. I.E. if someone buy a deed from the bank, the bank shoud keep automatically the money from the player.
  • Can you change the dollar player symbol? Is a bit misleading being the same of the bank.

Many thanks for you work, I really appreciate it.

Arm docker version

is it possible to have a docker version for arm? arm-64 or arm-32 is indifferent. (i want to run it on raspberry pi)
Thank you!

Unable to run Docker container

Getting error as
standard_init_linux.go:211: exec user process caused "exec format error"

After looking it up online, it's related to shebang (#!). Any other way to get past this manually?

Properties mortgage option - feature request

Hi,

today me and my friends played again at Monopoly.
We all thank you for you work, we spent again very good time together.

During the game one of the player ended his money and he Mortgage one of his card to the bank.
We noticed that on the back of the card there isn't any instruction about Mortgage.
Is it possible implement this option, could be also useful create some sort of mark on the card to notice it.

Here the link to the game rule, in case you need to review it.

Again, thanks for your work.

Apache reverse proxy help

Hi,
i tried to setup a reverse proxy to play with my friends, I've created a container inside my Proxmox server and installed Docker inside it.

The game works well but I prefer not to open the port on my router.
I tried this configuration for Apache reverse proxy, but it doesn't work.

Could you please help me?

<VirtualHost *:80>
    ServerName monopoli.domain.it
    Redirect / https://monopoli.domain.it/
</VirtualHost>


<VirtualHost *:443>

  ServerName monopoli.domain.it

  ProxyPass / http://internal-ip:8443/
  ProxyPassReverse / http://internal-ip:8443/

  ProxyPreserveHost On
  ProxyRequests off

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/domain.it/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain.it/privkey.pem
</VirtualHost>

Many thanks for your help.

game tokens laggy when dragged

On both my self hosted version and the demo the game the tokens are "laggy". Laggy might not be the correct term so here is a gif demonstrating what I mean. This happens to me on both chrome and firefox.

Cannot read property 'getUserMedia' of undefined

When I open my instance URL in the browser, this javascript error occurs:
image
I started a container as follows:

docker run --rm -ti -e "HTTP=true" -e "PORT=8080" -p "8080:8080" gonzague/monopoly

The network tab shows no failed requests.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.