Skip to content

amarantedaniel/aoc-swift-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Swift Template

This project is a Swift template designed to help you quickly get started with solving Advent of Code (AoC) challenges. Each December, Advent of Code releases a new programming puzzle every day leading up to Christmas. This template provides a clean and simple setup so you can focus on solving the puzzles without spending time on initial project configuration.

Installation and Setup

  1. Use This Template: Click the Use this template button at the top of the repository page on GitHub to create your own copy of this project.
  2. Clone Your Repository:
    git clone https://github.com/yourusername/your-repository-name.git
    cd your-repository-name
  3. Open in Xcode or use your preferred Swift IDE.

Usage Instructions

Each day’s solution is organized as an executable target. To solve each day's puzzle:

  1. Navigate to the target folder for the specific day (e.g., Sources/Day01).
  2. Open Day01.swift and update the code with your solution.
  3. Replace the contents of input.txt with the day’s puzzle input.
  4. Run the target for the selected day.

Contributing

Contributions are welcome! If you have suggestions, improvements, or find any issues, feel free to open a pull request or file an issue.

License

This project is licensed under the MIT License. See LICENSE for details.

Acknowledgments

Thanks to Advent of Code for the challenges and to ChatGPT for writing this readme.

About

Advent of Code template for Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published