/rabbit-hole-challenge

Website to test solving the rabbit hole challenge.

Primary LanguageJavaScript

This website is designed to show solutions and possibilities for the Rabbit in the Hole Challenge.

📜 What is the challenge?

There are 100 holes 🕳️ in a line, and there's a rabbit 🐰 hiding in one of the holes

You can only look in one hole at a time, and every time you look in a hole, the rabbit jumps to an adjacent hole. Find the rabbit!

🎉 How to contribute?

Fork and clone this repo.

git clone https://github.com/<Your fork>/rabbit-hole-challenge.git

Install its dependencies using yarn:

yarn install

Run the project

yarn dev

After that, the website will be served in your browser, in the url specified in the terminal. Now you can do whatever changes do you want, commit and push them, and then send a Pull request to this repository. It will be revised, and if its everything alright it will be approved and merged :).

🗂️ Folder structure

src
─┬─
 ├── assets (images, videos, svgs, assets in general)
 │
 ├─┬ components
 │ ├── Emojis (bunny, player, holes...)
 │ ├── Interactive (config interactibles like inputs, buttons, menus)
 │ └── other components
 │
 ├── contexts (react contexts)
 │
 ├─┬ gameplay (related to game logic)
 │ ├── algorithms (algorithms used for the game AIs, one per file)
 │ └── loop.js (executes the gameplay loop, like changing positions and states)
 │
 └── utils (reusable functions)

🏆 Contributors

Nick Gabe's github avatar
Nick Gabe

🐦 🐱‍💻 🤵
Jeff Quesado's github avatar
Jeff Quesado

🐦 🐱‍💻 🌐