yovasx2 / cars

A ruby gem for a simple cars game using gosu

Home Page:https://rubygems.org/gems/cars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cars

Content

This project is a simple car game in ruby using gosu (2d game library) packed in a gem

Consult ruby presentation for more info

In order to execute this project you need to install:

  • Ruby 2.2.3

    You can check this with ruby -v

  • Gosu

    Gosu installation prerequisites depend on OS

  1. Clone the repo

    $ git clone https://github.com/yovasx2/cars
    
  2. Move into it and install dependencies

    $ cd cars && ruby -Ilib ./bin/cars
    
  1. Esc to exit
  2. r to restart
  3. to move blue car to left
  4. to move blue car to right

You can contribute to this project in many forms:

  1. Giovanni Alberto García

MIT License

About

A ruby gem for a simple cars game using gosu

https://rubygems.org/gems/cars


Languages

Language:Ruby 100.0%