Skip to content

Commit

Permalink
docs: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
developer239 committed Dec 28, 2023
1 parent b8e9384 commit 42ec026
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AoC Day 3 Visual
# AoC 2023 Visual

![master](https://github.com/developer239/cpp-starter/actions/workflows/ci.yml/badge.svg)

Expand Down Expand Up @@ -29,11 +29,15 @@ $ ctest
3) Run:

```bash
$ cd build/src/apps/pong
$ ./AppPong
$ cd build/src/apps/app-name
$ ./app-name
```

# Result
# Day 3

![part1](./example-input.png)
![part2](./input.png)

# Day 14 Part 1
![part1](./preview-14-1.gif)

Binary file added preview-14-1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/packages/core/core/Loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Loop {
double deltaTime = 0;
double fpsLimit = 60;

explicit Loop(std::vector<IStrategy*> strategies, int windowWidth = 800, int windowHeight = 600, const char *title = "AoC 2023 Day 14");
explicit Loop(std::vector<IStrategy*> strategies, int windowWidth = 1980, int windowHeight = 1080, const char *title = "AoC 2023 Visual");

void AddStrategy(IStrategy* strategy);

Expand Down
2 changes: 1 addition & 1 deletion src/packages/core/core/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Window {
std::shared_ptr<SDL_Window> window;

public:
Window(int width = 800, int height = 600, const char *title = "AoC 2023 Day 14");
Window(int width = 800, int height = 600, const char *title = "AoC 2023 Visual");

std::shared_ptr<SDL_Window> Get();

Expand Down

0 comments on commit 42ec026

Please sign in to comment.