Skip to content

Slides and assets for the speed sprint workshop [first presented at Toronto Ruby Hack Night, January 28, 2016]

License

Notifications You must be signed in to change notification settings

k00ka/speed-sprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speed Sprint

Slides and assets for the speed sprint workshop [first presented at Toronto Ruby Hack Night, January 28, 2016]

###Introduction

This project, amongst other things, is a simple Ruby Gosu project. If you follow the instructions below, you can test your machine in advance of the workshop.

We have provided a repository which mimics the setup we used last time, so it should be familiar. The code to be created is found in the lib/ directory.

###Setup

Here are the steps to get you started with the repo.

  1. For this workshop, you will need a laptop with the following:
  • Ruby 2.x
  • sdl2 ("brew install sdl2" on OSX)
  • qt5 ("brew install qt5" on OSX)
  • A github account
    Note: We have included a .ruby-version file locked to 2.1.0, which you can change to any Ruby 2.x version if you don't have 2.1.0 installed
    More detailed instructions for each platform are included in the footer. Refer there if you are having issues.
  1. At Ryatta Group we use rbenv, and so we've included some optional elements - just skip them if you're using rvm or are not versioning your Ruby.
% git clone [email protected]:k00ka/speed-sprint.git
% cd speed-sprint
% gem install bundler
Fetching: bundler-1.7.4.gem (100%)
Successfully installed bundler-1.7.4
1 gem installed
% bundle
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Installing rake 10.3.2
...
Using bundler 1.7.4
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

Note: if you use rbenv...

% rbenv rehash

You are (almost) there!

  1. To test your machine:
% ruby lib/hello.rb

You should see a new window with the Hello, World message.

  1. If you're keen, have a look at the source to prepare.

Additional resources

Additional instructions for your platform are here:
Linux => https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux
OSX => https://github.com/gosu/gosu/wiki/Getting-Started-on-OS-X
Windows => https://github.com/gosu/gosu/wiki/Getting-Started-on-OS-X

Ruby Hack Night, January 28, 2016

The slides

http://remarks.sinaapp.com/repo/k00ka/speed-sprint/intro/#1
If the above link doesn't work for any reason, click here: https://github.com/k00ka/speed-sprint/blob/master/intro/slides.md

The projects

  1. gosu-mario https://github.com/k00ka/gosu-mario
  2. gosu-scrolling-shooter https://github.com/k00ka/gosu-scrolling-shooter
  3. gosu-galaxian https://github.com/k00ka/gosu-galaxian
  4. gosu-typespeed https://github.com/k00ka/gosu-typespeed
  5. gosu-inception https://github.com/k00ka/gosu-inception

Team assignments

Team assignments

About

Slides and assets for the speed sprint workshop [first presented at Toronto Ruby Hack Night, January 28, 2016]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages