Jeff L
@FallenAngel6
Python is my more dominant language, but because I take C++ classes, I have more C++ repls. I am also self-learning HTML, CSS, and JS.
Repl says that there is a division by zero error whenever I run it. I'm not sure where the error occurred. Can someone please help me? And before you
C++
Coder100 Hi, here is the where the error originates from:
image
try cout >> pi >> " " >> peeps; in your function to see what cin actually gave you.1 year ago
FallenAngel6 Please note that the answer might be chosen tomorrow because I have to go to bed. Thanks for your patience 🤗!1 year ago
So I've been trying to make an HTML game and I'm running into some trouble. First, the timer isn't working. And second, the text field shows previousl
HTML, CSS, JS
TheDNAHero The reason the input field isn’t reloading is because of the fact that you don’t clear it after enter, so I would do document.getElementById(“inputnamehere”).value=“”1 year ago
CSharpIsGud Add autocomplete="off" to the text input element.
Also on line 43 you have a = instead of ==.
And remove 'previous' from line 26.1 year ago
So, I've been fiddling around with C++ for a few months and I decided to make a console-based game with it. It's the very generic game: Hangman.
It a
C++
DynamicSquid Cool! Just a tip though, on line 102:
// this,
if(int(chosen.find(guess)) >= 0 && used[int(guess) - 97] != true)
// can be changed to this:
if (chosen.find(guess) != string::npos && !used[guess - 'a'])
`2 years ago
Umm, so for some reason the vision in this "game" is really messed up, can anyone help me? I've been trying to fix it for hours...
Coder100 image
looks working for me.
Are you trying to clear the console?
import os
os.system("clear")
2 years ago
Check out V1.
V2 has been made harder after I added Dreamers (unlockable with essence) and the Dream Nail into the game
Instructions:
Click the SOUL
HTML, CSS, JS
I'm just a noob at HTML and I saw a lot of people posting about clicker games (I'm also kinda into Hollow Knight), so I decided to make one on my own
HTML, CSS, JS
I have a question, how do you remove a button in HTML 5 (after you win the game). I'm planning on sharing this later so yeah...
HTML, CSS, JS
notGilbert If you want to reshow the button after removing it, use css display: none
const button = document.querySelector('...');
// hide it
button.style.display = 'none';
// show it
button.style.display = 'unset';
`2 years ago
EpicGamer007 give the button an id then after its done, in your js add document.getElementById("button-with-id").remove();2 years ago
Here's a graphic version of Rock Paper Scissor in HTML
HTML, CSS, JS
So, I saw this post, but I saw some functions that it lacked, and so here is my version of it.
Feel free to provide any advice, I'm not a relatively
Python
How can you become a moderator? I'm just wondering...
SixBeeps There aren't certain conditions per-se, but Replit picks users by hand to become mods. A good reputation is usually the core part.2 years ago
This is just a small game that I made with Python. Please check README.py or just run the game to see the instructions.
Please enjoy :)
Python
BananaJellyfish Add .lower() to the end of your do = input() lines to convert all input to lowercase, like: do = input('some stuff').lower()2 years ago