petervanderwal/adventofcode-skeleton
最新稳定版本:v2024.1.1
Composer 安装命令:
composer create-project petervanderwal/adventofcode-skeleton
包简介
A skeleton application to create your own Advent of Code puzzle solutions
README 文档
README
This skeleton application helps to create puzzle implementations for Advent of Code.
Key features:
- Tests your code against the demo input + expected answer
- Automatically downloads your full puzzle input
- Automatically submit your answer to Advent of Code
Installation
Create a new local project with
composer create-project petervanderwal/adventofcode-skeleton
and authorize your project to access the Advent of Code website by running
bin/console aoc:auth
Usage
This skeleton follows Symfony best practices.
Puzzles within the App\Puzzle namespace as well as other classes in most other namespaces are
automatically registered as service, and dependencies will automatically be injected. The namespaces App\Dto,
App\Entity and App\Model are excluded from automatic service registration.
Start with your first puzzle implementation
Open App\Puzzle\Year2024\Day01 within this project, make the necessary adjustments
and implement your puzzle solution.
Then run
bin/console aoc:run
which will test your implementation and (when the test was successful) submit your answer to Advent of Code.
Use bin/console aoc:list to list all the puzzle implementations within your project.
More information
Run bin/console aoc:run --help for more info or read the full documentation of
petervanderwal/adventofcode-cli
Credits
A big shout-out to Eric Wastl and his team for his dedication on creating Advent of Code for that many years in a row already! Note that Advent of Code was not involved in the development of this bundle and is therefore not responsible for any shortcomings you may find here.
License
This bundle is published under the MIT License.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-28