State Farm Competition Instructions

Welcome to State Farm's game dev competition at ASU GameCon 2020! To compete, follow the instructions below for forking and modifying this base game and then submitting your modification for consideration. There are two Nintendo Switch Lites up for grabs for the best modification of the base game. We'll be judging your contributions based on the following criteria:

This game runs on the Phaser JavaScript game framework. You can see a running version of this base game here. All credit for the code and art in this base game goes to Emanuele Feronato's One Tap RPG tutorial.

To get started, go to: https://github.com/StateFarmASUGameCon/BaseGame

Prerequisites

Getting Started

  1. Navigate to https://github.com/StateFarmASUGameCon/BaseGame in your browser.
  2. Click the "Fork" button in the top right corner. Choose your account as the namespace to fork to. After a few seconds you should be redirected to the new repository.
  3. Click the "Settings" tab at the top.
  4. Scroll down to the "GitHub Pages" section.
  5. For "Source", select "Master Branch". The page will then save and refresh.
  6. Scroll back down to the "GitHub Pages" section, and click the link where the site is published to and verify the base game is playable. It could take a minute or two for the game to publish and be playable. If you still get a 404, try clearing your cache and reloading the page. If it still doesn't work after that, go back to the GitHub Pages settings, and switch the source to "None", and then back to "Master Branch".
  7. Scroll back up to the top of the page and click the "Code" button to go back to the home page of the repository.

Local Project Setup

  1. Navigate to the repository we created in the "Getting Started Instructions".
  2. Click the "Clone or download button" on the right.
  3. Copy the url provided.
  4. Open the GitBash program (windows) or terminal (mac/linux) and navigate to the folder you want to work from. If you need help with bash commands, talk to one of the State Farm employees and we'll help you out.
  5. Run the command git clone {url you copied here} replacing my url with the one you copied. ex. git clone https://github.com/my-account/MyProject.git
  6. You can now start modifying the code on your workstation.

View game locally

  1. Open the folder containing the code within Visual Studio Code.
  2. Click the index.html file.
  3. Click "Go Live" at the bottom of the Visual Studio Code window.
  4. Your game should now appear in your browser.

Submission Instructions

  1. Push changes to the master branch of your repository. See basic git commands below, or talk to one of us if you need help.
  2. Verify your changes have been pushed by going to the home page of your repository, and clicking the "environment" button.
  3. Click "View Deployment".
  4. Verify the game looks correct, then copy the url for the page.
  5. Navigate to the original game you forked from. https://github.com/StateFarmASUGameCon/BaseGame
  6. Click the "Issues" tab below your project, not the one at the very top.
  7. Create a "New Issue".
  8. Click "Get Started" next to "Game Submission".
  9. Provide the name of your game as the title (feel free to be creative), the link you copied, and a link to your repository.
  10. Submit the issue, and pay attention to notifications on your issue as this is how we will contact the winner.
  11. Submission cutoff is 7:30, and we plan on announcing the winner by 8:00.

Basic git commands