Share your repls and programming experiences

← Back to all posts
Rain
matthewproskils

I tried this in python once by doing it by hand, but it was WAYY to hard so I just did this instead.

Anyway, here you go, some satisfying rain.

Edit: kinda snow I guess?

YEEE Trending Boys (and girls) (and non binary people)

Voters
27whuang
JWZ6
MatthewWesolows
GalaxyWolfX
HermioneGrange2
maxina
DREWNOLT
ShadowWalker258
kgm4Om
KeenanBusch
Comments
hotnewtop
RoyalCoder1234

In the Northern Hemisphere, it is so cold that the rain you made became snow. My backyard is now Mt. Everest. Love the work!

matthewproskils

@RoyalCoder1234 Hahaha 🤣

Whippingdot
HimanshuShekha4

@RoyalCoder1234 I dont know how do u manage to live at the pole ...

I live in India which is somewhat near the equator and still during this season we are like we dont wanna get out of the bed

firefish

@HimanshuShekha4 no, The poles are at 90 degrees latitude either way.
The furthest north livable terrain is at 78 degrees north, at Svalbard, just north of norway. And they don't have internet there.

RoyalCoder1234

@firefish Thx for the info. I guess my joke wasn't scientifically correct.

firefish

@RoyalCoder1234 it was a joke? oh no

HimanshuShekha4

@firefish You kidding me ? 😅😅

firefish

@HimanshuShekha4 i didn't realise :/

gwynethwingell

@RoyalCoder1234 that is the best joke I have heard from the time I came in to repl.it🤣🤣😂

elipie

@gwynethwingell then you havent been on replit. lol

ia13ru

@RoyalCoder1234 Are you sure it isn't one of those video call backgrounds? XD

BaconErie

Nice!

matthewproskils

@BaconErie Thank you :)

BuurmenTennus

@matthewproskils can I have the code. When I copy it it says pharse error on line 12. ALWWAYS!!

matthewproskils

@BuurmenTennus https://repl.it/@BuurmenTennus/Rain#main.py Um.. create a .replit file and then move

there

BuurmenTennus

@matthewproskils How do you make a file?

matthewproskils

@BuurmenTennus Actually, make a new repl with the language of c++

matthewproskils

@matthewproskils Then paste

into main.cpp

BuurmenTennus

@matthewproskils then I take the lang="cpp"
run="clang++-7 -lcurses -pthread -std=c++17 -o main main.cpp && ./main" and put it there. And just this code

matthewproskils

@BuurmenTennus No. You can just press the 'run' button. It'll work then

dudeactualdev

@matthewproskils So Relaxefulllllllll

dudeactualdev

@BaconErie Whats ur Roblox Name? Im NotDudeactual2121

matthewproskils

@RyanGardiner1 Sorry, I don't play roblox :(

dudeactualdev
firefish

@BuurmenTennus Or you can hit the fork button.

firefish

@RyanGardiner1 what? You shouldn't be sharing private information

RhinoRunner

tbh it looks more like snow but i still liek it

JBloves27

yeah... same @RhinoRunner

much0hackerBOI

Me: I feel like going outside today
Rain: Allow us to introduce ourselves

Kookiez

@much0hackerBOI then bring an umbrella :)

ComputingSquid

lol. i find that funny @much0hackerBOI

much0hackerBOI

@ComputingSquid i have achieved comedy

KobeFF

cool! you could always try ❆

matthewproskils
KobeFF

@matthewproskils ah that sucks

FloCal35

S A T I S F Y I N G

KobeFF

ayyy trending! Saw this on my homepage :)

good work :3

matthewproskils

@KobeFF Thank you :)

HEMLANU

wonderful

HEMLANU

good

HEMLANU

nice

Gr8est

Very nice, @matthewproskils!

matthewproskils

@Gr8est Thank you :)

Baconman321

Wow, cool!

bwoop

cool

KENNETHTRIPP

Cool

FlaminHotValdez

satisfying, very well calculated.

matthewproskils

@FlaminHotValdez Thank you :)

CoderKid123

Can you add options for snow, hail, and regular rain?

ReyesP

At least you made the "|"'s blue.

INCOGNITO001

so cool!

nn10

:o
nice work

Dart

ARE YOU CHALLENGING ME?

angrydoge

YEHS @DartZII

Ratoku3

my option is 6, please help me solve it, forgive me for being in Russian, write me an answer here it's my Yudjil#8570

Ratoku3

my option is 6, please help me solve it, forgive me for being in Russian, write me an answer here Yudjil#8570 it's my discord

gwynethwingell

awesome

CuriousMonkey

im so happy to finally find a c++ project on the trending page

matthewproskils
DeBeast591

It looks even better now! Congrats on the "animation" (Cant say it is one, but I cant say its not either!)

mintbookworm

This is really cool! 🌧☔💦💧

Pizzaz4me

this rain is really satisfyng. I wish whenever it rained it always looks this good

RishabTirupath1

I never realized there was a ".replit" file. Now I know that I don't have to type "gcc -lncurses" in the shell all the time. Thank you!

Kingoftheof1

If you want it to be more accurate you could add "std::cout << "\033[34m";" such that the code becomes

This would just make the rain blue.
Also if you want snowflakes (Probably a better way to do it than this but here you go):

matthewproskils

@Kingoftheof1 🤔 Unicode escape characters... Good idea! Thank you :)

bellabonura21

a bunch of the letter I... lol cute :)