Skip to content

ardell/ski-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ski Game

This is a ski game that I built with help of my niece. All credit for artwork goes to Molly!

It is built with Phaser, using the Ruby Starter Kit.

Check out the demo here

Dependencies

  • Git (on OS X install via homebrew)
  • Ruby 3.2.1 (we recommend using RVM)

Installation

  1. Clone this repository, e.g. git clone https://github.com/ardell/ski-game.git
  2. cd ski-game
  3. bundle This installs ruby dependencies, such as your web server

Building your game

You'll build your game in the public directory. We've started you out with Phaser's Hello World Example so all you should have to do is start building. public/index.html is the page that will be served at /, images, javascripts (js), and stylesheets (css) each have their own directory within public. Mostly you'll be working in public/js/app.js.

Running your game

Within your game directory, run foreman start, then go to http://localhost:5000 in your browser.

Deploying

To deploy your game to GitHub Pages...

  1. Create a GitHub repository for your game.
  2. Add your GitHub repository as a remote called "origin", e.g. git remote add origin [email protected]:username/repository.git where "username" is your GitHub username and "repository" is the name of the GitHub repository you created for your game.
  3. Commit all changes that you want to be deployed.
  4. Run rake deploy.
  5. View your game at: https://[username].github.io/[repository] where "username" is your GitHub username and "repository" is the name of the GitHub repository you created for your game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published