An open API service indexing awesome lists of open source software.

https://github.com/luismayo/advent-of-code-2022

Answers for advent of code 2022. Writen in Rust/Typescript
https://github.com/luismayo/advent-of-code-2022

advent-of-code advent-of-code-2022 deno rust typescript

Last synced: 2 months ago
JSON representation

Answers for advent of code 2022. Writen in Rust/Typescript

Awesome Lists containing this project

README

          

# advent-of-code-2022
Solutions to 2022's advent of code written in Rust until the 9th day. Written in Deno's Typescript from 10th onwards https://adventofcode.com/2022
Previous advents of code (in Typescript)
- [2020](https://github.com/LuisMayo/advent-of-code-2020)
- [2021](https://github.com/LuisMayo/advent-of-code-2021)

## Getting Started

### Prerequisites
- [Rust](https://rustup.rs/)
- [Deno](https://deno.land/#installation): Typescript runtime

### Use

All examples should be run from within the project's root
Up to the 9th (included) day you have to run it using Rust and this command
`cargo run --bin d${day}${{part}}`
For instance
`cargo run --bin d1p2`

From the 10th day onwards you have to run it with Deno using this command
`deno run --allow-read .\src\day${day}\src\part${part}.ts`
For instance
`deno run --allow-read .\src\day10\src\part2.ts`

## Contributing
This project is a little game to play during christmas, not a project with any real implications. Pull Requests will not be accepted as a result, unless they correct typos.