Skip to content

Commit 28bb336

Browse files
idispatchAtkinsSJ
authored andcommitted
Games: Add ColorLines
1 parent d987ddc commit 28bb336

File tree

14 files changed

+1119
-0
lines changed

14 files changed

+1119
-0
lines changed

Base/res/apps/ColorLines.af

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[App]
2+
Name=Color Lines
3+
Executable=/bin/ColorLines
4+
Category=Games
590 Bytes
Loading
1.29 KB
Loading
23.8 KB
Loading

Base/usr/share/man/man6/ColorLines.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Name
2+
3+
![Icon](/res/icons/16x16/app-colorlines.png) Color Lines
4+
5+
[Open](file:///bin/ColorLines)
6+
7+
## Synopsis
8+
9+
```**sh
10+
$ ColorLines
11+
```
12+
13+
## Description
14+
15+
ColorLines is a classic game.
16+
17+
Click a marble, then click an empty square to move.
18+
You can only move along unblocked paths.
19+
Build rows of 5 or more marbles of the same color to score.

Userland/Games/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
add_subdirectory(2048)
22
add_subdirectory(BrickGame)
33
add_subdirectory(Chess)
4+
add_subdirectory(ColorLines)
45
add_subdirectory(FlappyBug)
56
add_subdirectory(Flood)
67
add_subdirectory(GameOfLife)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
serenity_component(
2+
ColorLines
3+
RECOMMENDED
4+
TARGETS ColorLines
5+
)
6+
7+
set(SOURCES
8+
ColorLines.cpp
9+
main.cpp
10+
)
11+
12+
serenity_app(ColorLines ICON app-colorlines)
13+
target_link_libraries(ColorLines PRIVATE LibGUI LibCore LibGfx LibConfig LibMain LibDesktop)

0 commit comments

Comments
 (0)