README
Description
Linky is a game with dots and lines
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:
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:
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