Skip to content

Latest commit

 

History

History
47 lines (43 loc) · 1.76 KB

README.md

File metadata and controls

47 lines (43 loc) · 1.76 KB

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