Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS Club Game Showcase

Welcome to the CS Club Game Showcase! This project is meant to be a way for us to create cool JavaScript games and share them with everyone else in the club. Follow the instructions below to contribute your own game to the showcase.

View the current project here: https://unt-csce-club.github.io/CSCE-community-game/

How to Contribute

  1. Fork the Repository

    First, fork the repository to make a new repo. Then clone it to your local machine using the following command:

    git clone YOUR_FORK_URL
  2. Create Your Game Folder

    Create a new folder for your game inside the project directory. Name the folder according to your game, preferably with a descriptive name. For example, I named mine aaron_snake. This is where you'll code your game.

  3. Add Your Level

    In the gameMenu.js file located at the root of the project, locate the menuLevels array inside the setMenu() function. Here, you'll find Level objects describing other game levels. Add a new object for your game in the following format:

    new Level("level title", "author", "date", "href"),

    Make sure that the href field points to your game's HTML file. Ex: For Snake, the href is href="./aaron_snake/index.html" Note: make sure you add the . at the beginning, otherwise when the page is deployed it'll route to the wrong file.

  4. Example Code

    View some example code in the examples folder if you aren't sure how to get started. The examples outline Kaboom.js, an easy to learn library that is more streamlined for game dev than vanilla JavaScript.

  5. Commit and Push Your Changes

    After adding your game folder and updating the level HTML, commit your changes and push them to the repository.

    git add .
    git commit -m "Added [Your Game Name] level"
    git push origin main
  1. Submit a Pull Request

    Finally, submit a pull request to merge your changes into the main branch. We will review your contribution and merge it if everything looks good. Congratulations! Your game is now part of the showcase.

About

Computer Science Club's Community Game Showcase

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages