Skip to content

u/shiihs

In this archive from Aug 2018 to Jun 2023

0
posts
19
comments
0
media
39
score

Top comments

something like this (sorry I don't have godot installed at the moment and my last project in godot was a few years ago, so please treat it as an "approach" more than as a fully tested piece of code with correct syntax)

randomNumber = lastNumber
while randomNumber == lastNumber:
    randomNumber = generate_number(lastNumber)

<if you reach this line, randomNumber is different from lastNumber>
8 points

After mistyping 3 times, it will refuse to log you in for a number of minutes, even if you type in the correct password (can easily happen if caps lock is on e.g.).

In this case, you get a very clear error message if you switch to a text terminal and try to log in there, whereas the UI simply keeps saying "wrong password" or something along those lines.

3 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.