Skip to content

Nethan-Karerakattil/pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman

Click here for the live version of this repository!

This game is still under development and is not functional yet. This clone of pacman is a game built with javascript along with the HTML canvas API.

Suggesting Features

If you want to suggest a feature, but do not want to write code, you can do that by opening an issue. To open an issue :

  1. Navigate to the main page of the repository
  2. Under the repository name click Issues.
  3. Click on the button on the right side which says New issue.
  4. In the "Title" field, type a title for your issue.
  5. In the comment body field, type a description of your issue.
  6. When you're finished, click Submit new issue.

Contributing Code

To contribute code, follow these steps:

  1. Fork the repository - At the top right corner, you will see the term "fork". All you need to do is click it and you will have created a copy of the same project in your account. After this operation the URL of the project will change to: https://github.com/<YourUserName>/pacman

  2. Clone the project into your local machine. In order for you to perform this step, you must have Git installed locally in your machine. If you don't, refer to the official Git docs on how to get started. Now open the cmd on your computer and use the following command to clone the directory: git clone https://github.com/<YourUserName>/pacman

  3. Change the path to point to repository directory. To do that use this command: cd pacman

  4. Now, to create a new branch use the command: git checkout -b your-new-branch-name

  5. After making all the changes use the command: git add

  6. Now commit the changes by: git commit -m "<message here>"

  7. Finally push your changes to the main repository by using the command: git push origin <add-your-branch-name>

  8. Submit the changes. If you go to your repository on GitHub and refresh the page, you'll see a Compare and pull request button. Click on that button.

A good way to find something to work on is by looking for todo comments in the code, or by going to the issues tab.

To get a working development environment on your local machine, you must setup a server and access the main HTML file through the server. An easy way to accomplish this is by using the live server extension on VSCode.