pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.16k stars 5.72k forks source link

[Feature request] Arcade mode #1154

Open gordon-lim opened 1 month ago

gordon-lim commented 1 month ago

Wonderful project! I want to pitch an idea for an Arcade mode in which you can choose git commands you want more practice with beyond the vanilla levels.

Example: Say you've just learned git commit, git branch, and git merge from the level tutorials. You can enter Arcade, select those git commands as parameters and be provided with an endless generated sequence of levels to play through.

I've got 2 main ideas for automatically generating levels:

1) Permutate the list of git commands. Would only have to check that the commands are legal given the current state and probably also limit the length to prevent clutter.

2) Allow users to provide their OpenAI key to connect to the ChatGPT API. I've been able to create new levels with only one example provided in a prompt.

I want to contribute to this and I'm hoping to find people to collaborate with. I don't have experience contributing to open source and hope that someone could save me a lot of time getting familiar with the codebase. For instance, I'd imagine the first line of business would be to create a new arcade command like the sandbox command but even with that I'm not sure where to start. I've messed with gitpods for a while but to no avail.

Let me know if you are interested! Could be a fun summer project.