Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

a_maze_ing

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a_maze_ing

  • 0.5.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

AMazeIng

This is a small video game about maze, create on Gosu library. Solve the maze yourself or play with friend.

Classic modeMultiplayer mode
Annoying Friend modeTime Hunter mode
Comming soon, I'm working on it

Requirements

Gosu gem requires some libraries to be installed system-wide. If you got error installing gosu during install process, follow below instruction

OSX

Gosu depends on the SDL 2 library. Please install [Homebrew]{http://brew.sh/} and run

brew install sdl2.

And then install a_maze_ing again

Ubuntu

In order to install Gosu on Linux, you need the following packages (the names will be slightly different in every distribution):

libsdl2-dev, libsdl2-ttf-dev, libpango1.0-dev, libgl1-mesa-dev, libopenal-dev, libsndfile-dev, libmpg123-dev (starting in 0.12.0)

Run following command to install

$ sudo apt-get install build-essential libsdl2-dev libsdl2-ttf-dev libpango1.0-dev \
                 libgl1-mesa-dev libopenal-dev libsndfile-dev libmpg123-dev

And then install a_maze_ing again

Other OS

You can all the install constructions in Gosu's documentation on Github to install Gosu completely

Installation

Add this line to your application's Gemfile:

gem 'a_maze_ing'

And then execute:

$ bundle

Or install it yourself as:

$ gem install a_maze_ing

Usage

After install AMazeIng you can quickly run the game in classic mode by excecute the following command:

$ a_maze_ing

or

$ a_maze_ing classic

To play in Multiplayer mode run the following command:

$ a_maze_ing m

To play in Annoying Friend mode run the following command:

$ a_maze_ing af

Global Options:

--fullscreen (-f) will run the game in full screen mode

Construction

Control keys

Normaly you can use Up, Down, Left, Right key to move your character to that specific direction.

In two player mode, player 2 will use W, S, A, D key to move Up, Down, Left and Right instead.

Game mode

Classic mode

Find the way to the gate (the white square), the maze will get more complex as level increase

Multiplayer mode

There will be two player control two square, green and cyan, race to the gate (white square) at the same time. Who solve the maze first will get the point.

Annoying Friend mode

There will be also two player control two square but green and red. Player 2 will control the red square and not race to the gate but try to catch his friend (the green one). Players will get point if he/she finished his/her mission

Features Todo List

  • Menu screen
  • Custom mode - custom difficulty
  • Enemy mode - Race to the target before get hit by the enemies

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/at-cuongtran/a_maze_ing.

FAQs

Package last updated on 22 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc