# HG changeset patch # User Aleksej Bobylev # Date 1461197380 -10800 # Node ID 7d34f93df277eb5ec5a2586e0da7fd61c7852734 # Parent 22758e1c5fe954b4555e74a2b91e6938caa7f751 Add Lines game diff -r 22758e1c5fe9 -r 7d34f93df277 lines/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lines/description.txt Thu Apr 21 03:09:40 2016 +0300 @@ -0,0 +1,7 @@ +Original JavaScript port of the Lines game by Dmitry Baranovskiy: +http://dmitry.baranovskiy.com/work/lines/ + +Here you can play the special version Dmitry sent to the 10K Apart contest. +http://web.archive.org/web/20150912071602/http://10k.aneventapart.com/1/Entry/62 + +This SliTaz version is slightly tweaked for small screen to occupy less height. diff -r 22758e1c5fe9 -r 7d34f93df277 lines/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lines/receipt Thu Apr 21 03:09:40 2016 +0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="lines" +VERSION="10K" +CATEGORY="games" +SHORT_DESC="Lines game" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="unknown" +WEB_SITE="http://dmitry.baranovskiy.com/work/lines/" +GENERIC_PIXMAPS="no" + +DEPENDS="yad-html" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p \ + $fs/usr/games \ + $fs/usr/share/icons/hicolor/48x48/apps + cp -a $stuff/lines.html $fs/usr/games + cp -a $stuff/lines.png $fs/usr/share/icons/hicolor/48x48/apps +} diff -r 22758e1c5fe9 -r 7d34f93df277 lines/stuff/lines.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lines/stuff/lines.desktop Thu Apr 21 03:09:40 2016 +0300 @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Lines +Comment=Play the Lines +Exec=yad --html --uri=file:///usr/games/lines.html --width=600 --height=600 --no-buttons --title=Lines --window-icon=lines --center +Icon=lines +Categories=Game; diff -r 22758e1c5fe9 -r 7d34f93df277 lines/stuff/lines.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lines/stuff/lines.html Thu Apr 21 03:09:40 2016 +0300 @@ -0,0 +1,1 @@ +Lines

Lines

To move a ball, click on it with the mouse (circle will appear) to select it, then click on a free cell in a field. To deselect a ball just click on another. If movement is possible, ball will go to the specified empty field. After each turn, 3 new balls are placed on a field (random colours & positions). Preview panel shows colours of the next 3 balls. You can always force the next turn without moving anything. Click on preview panel. If the game field is full, game is over.

Game goal is to arrange balls of the same colour in a straight lines (every direction). 5 or more balls on a straight line are removed and points are given. Longer lines give more points to you. Crossing lines count together.

High Score: 0
Your Score: 0
diff -r 22758e1c5fe9 -r 7d34f93df277 lines/stuff/lines.png Binary file lines/stuff/lines.png has changed