A web-based version of the classic game Connect Four
- Ensure that you have the latest version of Node 16 installed.
- If you do not have the Netlify CLI installed, follow the Getting Started with Netlify CLI guide.
- Run
npm install
- Run
ntl dev
.
Gitpod is an online integrated development environment (IDE); TLDR an online editor. Gitpod provides a VS Code-like experience in the browser.
To load the project, first fork this project to your own account, and then from the fork, e.g.
https://github.com/some-user/connect-four, you can load it in Gitpod by prepending the URL with
https://gitpod.io/#
, e.g. https://gitpod.io/#https://github.com/some-user/connect-four
It'll take a minute to load up.
Gitpod will prompt to open in VS Code. Click the X in the top right of the prompt.
Gitpod will prompt you to install the Svelte for VS Code extension. Click the Install button.
It
will install all npm packages for the project. Once all the dependencies are installed, it will load
the project by running ntl dev
and the app will appear in development mode.
From there, you can start developing like you would if working on your local machine's IDE.
CodeSandbox is a popular online code editor that works well for creating small web applications. You can use CodeSandBox right in the browser while you work on your code contributions to the connect-four
repository.
To get started, you will need to sign in or signup for a CodeSandbox account. Once you are logged in, go to the connect-four CodeSandbox repo URL.
You should see a complete list of files, a README and the preview window.
In the upper right hand corner, click on the Branch dropdown and choose the "Fork project" option. This will create your own copy of the connect-four
repository on CodeSandbox.
You will then be asked to create a name for your forked repository.
When you click on the "Create new fork" button, it will create a new forked copy of the connect-four
repository. From there, you can create a new branch by clicking on the Branch button in the upper right hand corner to start working on contributing to the repo.
You might also see a message like this to install GitHub Apps which helps you run your development server on CodeSandbox.
Once you make some changes, you can commit and push up your work and create a PR by using the Git tools located in the left hand corner of the screen.
If you're interested in contributing to the project, please read the contributing guidelines.