✪Estalha
Leo Lomardo   Rio De Janeiro, Rio de Janeiro, Brazil
 
 
You find your own tree :trouble_disguiser:
Muitos sao chamados, poucos sao escolhidos.:drstar:
:SpacePug:Lua(2006-2021)
:SpacePug:Locco Abreu (2023- )
Spotify [open.spotify.com]
Github [github.com]
Momenteel offline
Uitgelichte illustratieshowcase
EuYLua
Favoriete groep
ArchLinux - Openbare groep
The ArchLinux Steam Group
2.175
Leden
92
In spel
613
Online
141
In chat
Walk...InTheRain
#include <ncurses.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>

#define MAX_DROPS 700

typedef struct {
int x, y;
char symbol;
} Raindrop;

void initRaindrops(Raindrop drops[], int numDrops, int maxCols, int maxRows) {
srand(time(NULL));
for (int i = 0; i < numDrops; ++i) {
drops .x = rand() % maxCols;
drops .y = rand() % maxRows;
drops .symbol = '|';
}
}

void updateRaindrops(Raindrop drops[], int numDrops, int maxRows) {
for (int i = 0; i < numDrops; ++i) {
drops .y = (drops .y + 1) % maxRows;
}
}

void drawRaindrops(Raindrop drops[], int numDrops) {
for (int i = 0; i < numDrops; ++i) {
mvaddch(drops .y, drops .x, drops .symbol);
}
refresh();
}

int main() {
initscr();
noecho();
curs_set(FALSE);

int maxCols, maxRows;
getmaxyx(stdscr, maxRows, maxCols);

Raindrop drops[MAX_DROPS];
initRaindrops(drops, MAX_DROPS, maxCols, maxRows);

while (1) {
clear(); // Limpa a tela

updateRaindrops(drops, MAX_DROPS, maxRows);
drawRaindrops(drops, MAX_DROPS);

usleep(100000);
}

endwin();
return 0;
}
Favoriete spel
25
uur gespeeld
16
Prestaties
Recensieshowcase
O jog mais lindo que eu ja tive a honra de jogar. Todos nós deveriamos joga-lo, ele fala de bullying, amor, juventude, aventuras e diversos outros assuntos com um riqueza de detalhes surreal.
Screenshotshowcase
War Thunder
Workshop-showcase
原作1080系列没有背景音乐,于是自己加了个bgm,侵删。 http://steamproxy.com/sharedfiles/filedetails/?id=821372791 bgm(background music): CMA - You're Not Alone http://music.163.com/m/song?id=27948638&userid=335902440 NEW: 你们要的东方bgm和完整版··· Another bgm(background music) ↓↓↓↓↓↓↓
46.810 beoordelingen
Gemaakt door - Aqourz
Voorwerpen te ruil
421
Voorwerpen in bezit
745
Gemaakte ruilen
7.471
Markttransacties
Recente activiteit
0,6 uur in totaal
laatst gespeeld op 5 feb
570 uur in totaal
laatst gespeeld op 4 feb
6,9 uur in totaal
laatst gespeeld op 23 jan
Prestatievoortgang   1 van de 231
Rafael 28 dec 2022 om 21:20 
garrincha > pelé
Rafael 30 nov 2021 om 16:04 
vai estudar C
Rust Man 14 sep 2021 om 4:36 
sexo
Buix Laitier 13 feb 2021 om 13:51 
Quem tem um amigo tem tudo
Enrico pucci 17 jan 2021 om 10:21 
O perfil do brabo é brabo slk !
danoco 28 dec 2020 om 18:50 
Salve patrão! Tmjj! Valeu pela força!! <3