You can drag the HTML file into your web browser to upload it into the current directory (folder).
I made a (pseudo-) random number generator. This time it uses XOR and 3 arguments as its base.
rndlist = []
def rand(k1,k2,n):
for i in range(0, 10):
return ((((k1+i) + (n ^ k2)) - k2 + (n ^ k1)) - (n + (k2 ^ k1)))
for x in range(1234):
rndlist.append(rand(x,x+3412,x-3412))
for y in range(len(rndlist)):
print(-(rndlist[y] ^ -rndlist[y]))
Python, by the way, is what I used to code this.
I should probably make everything not so arbitrary
Now, my python is a bit rusty, but did you mean yield
instead of return
? Your for loop will only execute once, so it’s pretty redundant.
oh, lol, that’s funny
Cool - thank you for letting me know!
I will have to pop out for a bit sadly - will be back in a while. What’s on your mind?
Just trying to create a website just like TheCMStudios. I kind of need a background, and I also need to learn about colors. I kind of forgot how to use them?
And also, when I use an Index.html file. it just clear’s all my previous commit’s
Could you explain what I need to do more simply?
Do I need to create a .css file (which may remove my previous theme, i guess)
or should I forget theme’s and just continue without a theme?
and, what about font’s?
simply code HTML
<!DOCTYPE HTML>
<html>
<body>
uh some content here
</body>
</html>
you can use a css file, or just put the css directly in the HTML
you should forget the theme if you want to make the website using html
You can add them with css/html
help’s a lot.
should i rename my README.md file, to an index.html or something?
your choice
you can either create a new index.html file, or just rename (and edit) the readme.md file
thanks ig lol
Thinking about creating another website that’s more like a website as opposed to modding tools…
I have this page, but not much else in terms of ideas. I guess I will put this on GitHub once I’ve added enough pages to the site.
Perhaps you could have a leaderboard tab from your games played on your web player? It wouldn’t have to have names, just top scores.
does anyone know how to position text in css or html?
like how hopscotch uses set position?
you know, x, y or left, right?
or something like TheCMStudios github where the text on the top left is like?
you can’t exactly do that to my knowledge unless you use svg
but to align text you can do
text-align: center; /* centers text */
Yeah I did think of a high score competition/leaderboard of some kind. Same with speedruns, and also documentation on modded blocks. I should probably just do that before overthinking myself on other things
Also, I think usernames are ok only because I would ask the user for their user_id, which allows me to get the name without risk of entering random (potentially bad) usernames.
Is there anyone here who has experience with C or C++, Linux, and a 64 bit architecture?
I might be able to help you out! I’m not dual booting Linux right now, but I can always boot it off VirtualBox.
Looks cool so far! I’d be willing to help you touch up the site and make it pop out more, etc. if you’re open to pull requests.
Yep! See relative
positioning here:
https://developer.mozilla.org/en-US/docs/Web/CSS/position
But I wouldn’t recommend that for a nav bar. Look up “nav bar css” in Google and you can find out how to set that up for yourself!