Ich bin Johannes Häusler und angehender Student der Informatik an der FH Aachen.
spotlightforbugs / webwoelfe Goto Github PK
View Code? Open in Web Editor NEWWerwolf mit Freunden kostenlos online Spielen
License: GNU General Public License v3.0
Werwolf mit Freunden kostenlos online Spielen
License: GNU General Public License v3.0
Zb. Mit werwolf.log(1)
--> wenn 1, dann spiel beginnt in log schreiben usw.
Together we can
### TODO: Auch die Namensverifizierung in die Hexenfunktion einbauen
It is considered good practice to use the type-safe equality operators ===
and !==
instead of their regular counterparts ==
and !=
.
There are 8 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/JS-0050/occurrences/
###TODO: Aktionen für Hexe und Jaeger während des Todes
Description
The verliebt status overwrites the actions on death of the Jaeger and the Hexe
To Reproduce
Steps to reproduce the behavior:
If a person with a role with actions on death dies, the person has no option to use the actions of their role
Expected behavior
A clear and concise description of what you expected to happen.
all platforms, the error occurs on the server-side
Sentry Issue: FLASK-N
TemplateSyntaxError: Unexpected end of template. Jinja was looking for the following tags: 'endblock'. The innermost block that needs to be closed is 'block'.
(8 additional frame(s) were not displayed)
...
File "jinja2\environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "jinja2\loaders.py", line 138, in load
code = environment.compile(source, name, filename)
File "jinja2\environment.py", line 768, in compile
self.handle_exception(source=source_hint)
File "jinja2\environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\jojon\OneDrive - Bischöfliches Pius-Gymnasium - Aachen\Desktop\webwoelfe\werwoelfe\templates\index.html", line 68, in template
{% endblock %}
Opening a file using with
statement is preferred as function open
implements the context manager protocol that releases the resource when it is outside of the with
block. Not doing so requires you to manually release the resource.
There are 22 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/PTC-W0010/occurrences/
dass ist vollkommen integriert in der Sprache. Das bisschen SQL, was man braucht, bekommt man hin.
Dazu kann man ja eine "init" Routine machen, wenn es die DB noch nicht gibt.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I have an issue when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Teachability, Documentation, Adoption, Migration Strategy
If you can, explain how users will be able to use this and possibly write out a version the docs.
Maybe a screenshot or design?
###TODO: Sicherheitsabfrage bei der Anzeige des Logs
<!--TODO- Auswahl der beiden Partner:innen->
An unused variable takes up space in the code, and can lead to confusion, and it should be removed. If this variable is necessary, name the variable _
to indicate that it will be unused, or start the name with unused
or _unused
.
There are 7 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/PYL-W0612/occurrences/
Tracking issue for:
Als anhaltspunkt könnte man eventuell die allgemeine Wahl nutzen
Tracking issue for:
mode = "dark"
return (render_template('template',mode=mode))
Sentry Issue: FLASK-A
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 23: invalid continuation byte
(1 additional frame(s) were not displayed)
...
File "flask\app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "flask\app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "flask\app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "app.py", line 452, in spezielles_Dashboard
players_vorhanden = file.read() # read the log file
File "codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
Beim Hinzufügen Vairiable spieler_zahl auf 0 setzen
Spielabläufe
Extra parentheses in code can be removed for improved readability. In the examples below, the first example is more readable than the second one.
There are 2 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/PYL-C0325/occurrences/
Variables that aren't defined, but accessed may throw reference errors at runtime.
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/JS-0125/occurrences/
An HTTP method is safe if it doesn't alter the state of the server i.e it leads to a read-only operation. Common safe HTTP methods: GET
, HEAD
, and OPTIONS
. Whereas, POST
, PUT
, and DELETE
are unsafe because they alter the server state. The use of both safe and unsafe HTTP …
There are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/PY-S6007/occurrences/
Using except
without a specific exception can be error prone.
There are 11 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/FLK-E722/occurrences/
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs
There are 10 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/SpotlightForBugs/webwoelfe/issue/FLK-E501/occurrences/
Sentry Issue: FLASK-2
UnboundLocalError: local variable 'nurNamen' referenced before assignment
File "flask\app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "flask\app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "flask\app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "flask\app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "app.py", line 484, in spezielles_Dashboard
nurNamen.append(name_line) # append the name to the list
###TODO : Bei Toten soll die Rolle durch "Tot" ersetzt werden
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.