-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1554211
commit f0edcdc
Showing
3 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# Re-Pokemon-Red | ||
|
||
# Running the game | ||
- ```$ docker compose build``` | ||
- ```$ docker compose run play``` | ||
### Documentation index | ||
- [Code style guidelines](./documentation/CODE_STYLE.md) | ||
- [Building, running and testing with Docker](./documentation/DOCKER.md) | ||
|
||
# Testing your changes | ||
- ```$ docker compose build``` | ||
- ```$ docker compose run test``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Code style guidelines | ||
### Variable naming: | ||
```cpp | ||
std::string table_name; // OK - snake_case. | ||
std::string tableName; // Bad - cammelCase | ||
``` | ||
|
||
### Class and struct naming: | ||
```cpp | ||
class TableInfo { // OK - PascalCase | ||
... | ||
private: | ||
std::string table_name_; // OK - snake_case underscore at end. | ||
static Pool<TableInfo>* pool_; // OK. | ||
}; | ||
|
||
struct UrlTableProperties { // OK - PascalCase | ||
std::string name; | ||
int num_entries; | ||
static Pool<UrlTableProperties>* pool; | ||
}; | ||
``` | ||
### Function naming | ||
```cpp | ||
AddTableEntry() // OK - PascalCase | ||
DeleteUrl() // OK - PascalCase | ||
OpenFileOrDie() // OK - PascalCase | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Docker | ||
### Running the game | ||
```bash | ||
$ docker compose build | ||
$ docker compose run play | ||
``` | ||
|
||
### Testing your changes | ||
```bash | ||
$ docker compose build | ||
$ docker compose run test | ||
``` |