Card Game Starter Setup

Open your Terminal application and navigate to your ~/code/ga/projects directory:

cd ~/code/ga/projects

Clone the Card Game Starter Code repository, and enter the new directory:

git clone https://git.generalassemb.ly/modular-curriculum-all-courses/card-game-starter-code.git
cd card-game-starter-code

Once cloned, you’ll need to remove the existing .git information from this template.

This can be done with the following command:

rm -rf .git

Removing the .git info is important as this is just a starter template provided by GA. You do not need the existing git history for this project.

With the old .git information removed, you can now reinitialize Git to start your own version control history. Use these commands to initialize a new Git repository and make your first commit:

git init
git add . 
git commit -m "initial commit"

Finally, open the contents of your new project directory in VSCode:

code .

Now you’re all set to start working on your Card Game project!