GithubHelp home page GithubHelp logo

monopoly's Introduction

variant-monopoly

All Contributors

159356 SE Capstone Project

How to run SSR

  1. cd SSR/
  2. bash setup.sh or sudo bash setup.sh
  3. open 127.0.0.1:8000/monopoly/ in your browser.

Use webpages provided by AWS services

Open 3.18.221.239:8000/monopoly/ in your browser.

NOTE

  1. The setup.sh script works in Linux, and if your OS is Windows, you can use WSL or use git bash.
  2. The whole setup process will need Internet, so make sure Internet is accessible.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Yi

💻 ⚠️ 🔣 🤔 📆 👀

monopoly's People

Contributors

amber-he avatar foxlithium avatar gaoyi-ai avatar why-cn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

monopoly's Issues

UI suggest: logout

When I have logged in I cannot find a way to logout.
I can clean the cookie to do so, however this is not quite... user-friendly.
Can you add this feature or I missed something?
image

Error: Channels 3 Daphne Uvicorn Error AppRegistryNotReady

Running the project with python manage.py runserver boots it up perfectly using the channels asgi development server, however when running the project with Daphne daphne project.routing:application, there is an error AppRegistryNotReady: Apps aren't loaded yet.

Error in logging into a profile

I create a test file which name is "HaoyuWang" and pwd is "123" (without quote),
when I tried to loggin in with Microsoft Edge 93.0.961.38 (Chromium), it showed some error page.

Brief:
DoesNotExist at /monopoly/
Profile matching query does not exist.

I have saved the page incase you need to check it out.
DoesNotExist at monopoly.zip

Style sheet about default profile pic bug

In game default profile pic
O81XM$~@)EANTV5% WQ@Q22
New game default profile pic
M2IB4A}YTC%BT{)I}EPFZO2

I wonder if default pic would be like Google's way, like Someone01's profile pic will be 2 characters (SO), would be better?

Register Error

When I try to regist a new account, there's showing some error page:

Preview:

OperationalError at /monopoly/register/
no such table: monopoly_profile

I have saved the webpage.

Please fix this.

Another thing is, If I try to register an account with the same username, it said that I cannot use that name because its invalid, I guess the former account has already created even an error page showed?
OperationalError at monopoly_register.zip

Changes for initial properties

The initial fund of 1500 is slightly more for two players and slightly less for two or more players. The specific changes are waiting to be discussed

Game doesn't end when someone is going to bankrupt

[ English / 简体中文]
When a player is going to purchase or going to make a payment but his (her) cash is insufficient, the game doesn't end. Instead, it pops TypeError on browser console and the game gets freezed, the host player should end the game manually.

And after ending the game manually, the scoreboard doesn't show someone went bankrupt.

But the exit function works just fine.

[ English/ 简体中文]

当玩家要购买或付款,但他(她)的现金不足时,游戏不会结束。相反,它会在浏览器控制台上弹出TypeError并且卡住,主持游戏的玩家应该手动结束游戏。

并且手动结束游戏后,记分牌上没有显示到底是谁破产。

但退出功能正常工作。

issue4

ERROR: Failed building wheel for twisted-iocpsupport

When executing setup.sh, a virtual environment creation error occurs as follows:

Building wheel for twisted-iocpsupport (PEP 517): started
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /tmp/tmpv8s6qz76 build_wheel /tmp/tmp9l8hgcva
       cwd: /tmp/pip-install-qsr4j4x_/twisted-iocpsupport
  Complete output (13 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'twisted_iocpsupport.iocpsupport' extension
  creating build
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/twisted_iocpsupport
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Itwisted_iocpsupport -I/usr/include/pyth
on3.8 -c twisted_iocpsupport/iocpsupport.c -o build/temp.linux-x86_64-3.8/twisted_iocpsupport/iocpsupport.o
  twisted_iocpsupport/iocpsupport.c:631:10: fatal error: io.h: No such file or directory
    631 | #include "io.h"
        |          ^~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for twisted-iocpsupport
  Building wheel for twisted-iocpsupport (PEP 517): finished with status 'error'

infrastructure: python: 3.8, Ubuntu 20.04.2 LTS

Game time may be too long

The game logic needs to be updated, the current game may take too long to play and no player will go bankrupt, the reason may be because the toll has been kept the same

Tolls should be set to increase as the game lasts, or as the number of buildings increases

Game won't end if the game sharer disconnect/refresh by an abnormal way

In recent tests, we found that when the homeowner was abnormally DISCONNECT, the game had not ended, and the players in the game would not be exited in the background. Then re-enter the room and there will be people from the previous round, regardless of whether they successfully exited (like a ghost), and then the game will enter the loading loop. Please optimize this.

Error in joining a game

When I was joing a game it had a long loading time and there seems some error happened.
I was able to see the loading page.
Here's the log in the attach file.
202109101051.log

Lack of HTML doctype

Lighthouse Audits prompts that there is no HTML doctype, please check whether each page contains HTML doctype.
image

End game won't show evaluate

In recent tests, we found that when the game end intentionally, the evaluation page won't appear. The back-end showing the game was end but front-end freezed.
K0A 4D{D0(}K{U~SSDJ529

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.