Update Usage

This commit is contained in:
Night Kaly 2024-10-12 16:16:28 +01:00
parent fa071ee2e9
commit 2e2991c72e
Signed by: night0721
GPG key ID: 957D67B8DB7A119B
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ vtr is a 2D game aimed to recreate Skyblock.
# Usage
```
./vtr
vtr
```
# Building

View file

@ -105,7 +105,7 @@ void initialize_world()
{
for (int i = 0; i < world.max_y; i++) {
for (int j = 0; j < world.max_x; j++) {
int rand_value = rand() % 10;
int rand_value = rand() % 100;
if (rand_value < 1) {
/* 1% chance for a tree */
world.grid[i][j] = 'T';
@ -208,7 +208,7 @@ void print_world()
printf("%s", PATH);
break;
default:
printf("%c", world.grid[i][j]);
printf("\033[38;2;0;0;255m=\033[0m", world.grid[i][j]);
break;
}
}