Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ohhnate/adventofcodegui
Advent of Code GUI
https://github.com/ohhnate/adventofcodegui
advent-of-code csharp gui
Last synced: 28 days ago
JSON representation
Advent of Code GUI
- Host: GitHub
- URL: https://github.com/ohhnate/adventofcodegui
- Owner: ohhnate
- License: mit
- Created: 2024-12-03T00:40:45.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-03T06:45:21.000Z (about 1 month ago)
- Last Synced: 2024-12-03T07:34:32.554Z (about 1 month ago)
- Topics: advent-of-code, csharp, gui
- Language: C#
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2024 w/GUI
My solutions for [Advent of Code 2024](https://adventofcode.com/2024) in C#.
I will be updating the solutions, helpers, and GUI while the challenge advances as needed.## Project Structure
```
Advent2024/
├── Days/ # Solution for each day
│ ├── Day1.cs
│ └── ...
├── Inputs/ # Inputs for each day
│ ├── day1input.txt
│ └── ...
├── Helpers/ # Utility classes
│ ├── FileHelper.cs
│ ├── GraphHelper.cs
│ ├── GridHelper.cs
│ └── MathHelper.cs
└── README.md
```## Features
- Modern C# (.NET 8.0)
- GUI interface for running solutions
- Command-line support
- Helper utilities for common AoC operations
- Performance timing for solutions## Usage
### GUI Mode
Run the application without arguments to launch the GUI interface:
```bash
dotnet run
```### Command Line Mode
Run a specific day's solution:
```bash
dotnet run --
```Example:
```bash
dotnet run -- 1
```## Helper Utilities
### FileHelper
- File reading operations
- Multi-column data parsing
- Grid parsing
- JSON parsing
- Group reading### MathHelper
- GCD/LCM calculations
- Prime number operations
- Manhattan distance
- Range operations## License
This project is open source and available under the [MIT License](LICENSE).