Skip to content

Commit 2ec348b

Browse files
[wiki] Various broken link fixes
1 parent 1cfa432 commit 2ec348b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

wiki/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CORE GAME is a programming competition where you can write a bot and compete aga
1212

1313
You don't have any direct access to the game while its playing, like in a classic game. Instead you create a program that executes your strategy and dynamically adapts to any situation thrown at it. Later, your bot can play against the bots the other event participants wrote.
1414

15-
To avoid being defeated, you can spawn a variety of units to defend and attack your opponent. These all have different stats, abilities and drawbacks. To spawn them, you need gems. To have a look at what units are available, look at the [config](core_library/4_configs).
15+
To avoid being defeated, you can spawn a variety of units to defend and attack your opponent. These all have different stats, abilities and drawbacks. To spawn them, you need gems. To have a look at what units are available, look at the [config](documentation/configs).
1616

1717
You can receive gems by having your units attack the gem deposits on the map or via idle income which you get automatically. Good resource management is critical to creating a successful bot.
1818

wiki/documentation/playing_against_others.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ The tournament will at the end determine the winner of your event.
1919

2020
Using the queue often is a great idea to see how good your bot is in what aspects of Core Game.
2121

22-
If your code runs locally but not on the website, you may want to have a look at the [website setup guide](website_setup).
22+
If your code runs locally but not on the website, you may want to have a look at the [website setup guide](documentation/website_setup).

wiki/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SIDEBAR_HEADING="FaQ"
2222
### 📚 Are there any limitations to what I can add to the bot?
2323
> Your bot will be run in a separate Docker container from the server and other bots, and this container won't have an internet connection.
2424
>
25-
> For more info: [Running on the Website](website_setup)
25+
> For more info: [Running on the Website](documentation/website_setup)
2626
2727
### 🔢 Are there limits to how many units or objects I can spawn / can be in the game at the same time?
2828
> No.

wiki/reference/actions/core_action_pathfind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Very simple pathfinding logic implementation. It won't help you win, but it can
1414

1515
When you call it, it will determine the next move to make and then immediately either move there or attack objects in its way, provided the objects in its way aren't your units or core.
1616

17-
It is encouraged that you write your own pathfinder eventually for a good bot using [`core_action_move`](core_action_move) and [`core_action_attack`](core_action_attack), this function is just a util for you to easily get started.
17+
It is encouraged that you write your own pathfinder eventually for a good bot using [`core_action_move`](reference/actions/core_action_move) and [`core_action_attack`](reference/actions/core_action_attack), this function is just a util for you to easily get started.
1818

1919
## Signature
2020

wiki/reference/config/s_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef struct s_config
5555
- `unsigned long bomb_hp`: How many healthpoints a bomb has.
5656
- `unsigned long bomb_countdown`: How many ticks a bomb takes to explode after being thrown.
5757
- `unsigned long bomb_throw_cost`: How much it costs to throw a bomb.
58-
- `unsigned long bomb_reach`: How big the explosion of a bomb is. See the [objects](./2_objects) page for more info on the bomb explosion pattern.
58+
- `unsigned long bomb_reach`: How big the explosion of a bomb is. See the [bombs documentation](documentation/bombs) page for more info on the bomb explosion pattern.
5959
- `unsigned long bomb_damage`: How much damage a bomb does to objects hit by its explosion.
6060
- `t_unit_config **units`: List of all unit types that are available in the game. NULL-terminated.
6161

wiki/reference/objects/s_obj.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ https://github.com/42core-team/monorepo/blob/dev/client_lib/inc/core_lib.h#L36
1313
Game object structure representing all the things that can be present on the game field.
1414

1515
- There are never two objects with the same id.
16-
- There are never more than one object at a given [grid position](s_pos).
16+
- There are never more than one object at a given [grid position](reference/objects/s_pos).
1717

1818
> **WARNING**: The memory location of objects may change between ticks. To store references to objects between ticks, it's recommended to use their id.
1919

wiki/tips_and_tricks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PERMALINK="tips_and_tricks"
44
SIDEBAR_HEADING="Tips and Tricks"
55
=====
66

7-
- 🧠 Look at [the config](core_library/4_configs)! Knowing the exact damage values is exactly the kind of thing you'd want to consider before trying out a strategy. And you don't want to be finding out there were two more units you didn't even know about two hours before the event ends!
7+
- 🧠 Look at [the config](documentation/configs)! Knowing the exact damage values is exactly the kind of thing you'd want to consider before trying out a strategy. And you don't want to be finding out there were two more units you didn't even know about two hours before the event ends!
88

99
- 📖 Take some time to read the wiki! It contains a lot of valuable information, such as the many practical code examples.
1010

0 commit comments

Comments
 (0)