Skip to content

CodeMan99/shuttle-cch23

Repository files navigation

Christmas Code Hunt

The 2023 Christmas Code Hunt.

Build and Run

Open this repository as a devcontainer. This will setup the environment.

$ cargo build
$ cargo shuttle run

This will create a Postgres docker container for persistance. Then the Rocket application should serve on http://127.0.0.1:8000.

Validation

Shuttle created the cch23-validator to test solutions against. In the example, day 22 is passing all test cases.

$ cch23-validator 22
⋆。°✩ ⋆⁺。˚⋆˙‧₊✩₊‧˙⋆˚。⁺⋆ ✩°。⋆°✩ ⋆⁺。˚⋆˙‧₊✩₊‧˙⋆˚。⁺⋆ ✩°。⋆
.・゜゜・・゜゜・.                .・゜゜・・゜゜・.
。・゚゚・          SHUTTLE CCH23 VALIDATOR          ・゚゚・。
.・゜゜・・゜゜・.                .・゜゜・・゜゜・.
⋆。°✩ ⋆⁺。˚⋆˙‧₊✩₊‧˙⋆˚。⁺⋆ ✩°。⋆°✩ ⋆⁺。˚⋆˙‧₊✩₊‧˙⋆˚。⁺⋆ ✩°。⋆


Validating Challenge 22...

Task 1: completed 🎉
Core tasks completed ✅
Task 2: completed 🎉
Bonus points: 600 ✨

Acknowledgements

First off, THANK YOU to the Shuttle team that made these challenges available and those who supported participants throughout! 🚀

Thank you to my fellow participants in the Christmas Code Hunt! Many awesome conversation were had. I was able to share my experience as well as learn even more about the rust ecosystem. 🦀

Finally, thanks to my wife who put up with me spending time on this project. ❤️