Skip to content
A game with dots and lines
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
lib v1.1 Oct 23, 2018
screnshots v1.0 Oct 23, 2018
tests v1.1 Oct 23, 2018
LICENSE Initial commit Oct 18, 2018
README.md
Rakefile v0.3 Oct 20, 2018

README.md

README

Description

Linky is a game with dots and lines
game_in_progress

Launch the game

Linux only:
Simply execute the file build/Linky to launch the game.
/!\ The refresh of the mouse doesn't have the same behavior during the development and when the executable file is used which occur the lines not to be draw instantly. This need to be fixed

Contribute

System dependencies

$ sudo apt install ruby-dev

Using the awesome framework ruby2d, follow this page to install it

Launch the app

$ ruby lib/main.rb

You can submit levels

Here are the tiles positions:

grid_tiles_number
Please submit by creating a pull request where you have modify the file lib/levels/dots_position.rb. The numbers are the position of the two dots and grid_size determine the number of rows and columns:

  {
    grid_size: 5,
    dots: {
      green: [0, 23],
      blue: [1, 12],
      yellow: [8, 11],
      red: [16, 24]
    }
  }

The above example will generate:

game_start
Where the possible color names are:
blue aqua teal olive green lime yellow orange red brown fuchsia purple maroon white

TODO

  • Add the possibility to build level with dead tiles
  • Send coordonates of tiles with alphanumeric value (A1, C3) instead of the number of the tile and manage correctly different grid size
  • Fix issue with mouse once compilation is done
You can’t perform that action at this time.