Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rvanasa/aoc-motoko-starter
Advent of Code ยท Motoko starter project
https://github.com/rvanasa/aoc-motoko-starter
advent-of-code aoc-2023 challenge competition dfinity icp internet-computer motoko puzzle starter template
Last synced: about 2 months ago
JSON representation
Advent of Code ยท Motoko starter project
- Host: GitHub
- URL: https://github.com/rvanasa/aoc-motoko-starter
- Owner: rvanasa
- Created: 2023-11-23T00:13:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T01:35:19.000Z (about 1 year ago)
- Last Synced: 2024-08-03T18:13:30.674Z (5 months ago)
- Topics: advent-of-code, aoc-2023, challenge, competition, dfinity, icp, internet-computer, motoko, puzzle, starter, template
- Language: Shell
- Homepage: https://gitpod.io/#https://github.com/rvanasa/aoc-motoko-starter
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-advent-of-code - rvanasa/aoc-motoko-starter
README
# Advent of Code ยท Motoko starter project
This is a template for using the [Motoko](https://internetcomputer.org/docs/current/motoko/main/motoko) programming language to solve [Advent of Code](https://adventofcode.com/) puzzles.
Learn more about Motoko in the [Internet Computer](https://internetcomputer.org/docs/current/home) developer documentation.
## ๐ Get started directly in your browser:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/rvanasa/aoc-motoko-starter)
## ๐ฆ Local environment (macOS / Linux):
Ensure that [Node.js](https://nodejs.org/en/) is installed on your system.
Next, run the following commands:
```sh
# Install system dependencies
sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)" # Motoko compiler
curl https://wasmtime.dev/install.sh -sSf | bash # WebAssembly engine
npm install ic-mops # Mops package manager for Motoko# Clone this repository
git clone https://github.com/rvanasa/aoc-motoko-starter
cd aoc-motoko-starter# Run a Motoko file with the given name from the `src` directory
./aoc 1
```##
If you use [Visual Studio Code](https://code.visualstudio.com/), consider installing the [Motoko VS Code extension](https://marketplace.visualstudio.com/items?itemName=dfinity-foundation.vscode-motoko).
## ๐ Documentation
- [Quick start / tutorial](https://internetcomputer.org/docs/current/motoko/tutorial)
- [Developer docs](https://internetcomputer.org/docs/current/motoko/main/motoko)
- [Base library](https://internetcomputer.org/docs/current/motoko/main/base/)
- [Mops package manager](https://j4mwm-bqaaa-aaaam-qajbq-cai.ic0.app/#/docs/install)
- [VS Code extension](https://github.com/dfinity/vscode-motoko)---
Contributions are welcome! If you find a way to improve this repository, please feel free to [submit a pull request](https://github.com/rvanasa/aoc-motoko-starter/pulls).