Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
Updated README.
Removed unused assets.
  • Loading branch information
derveydylan committed Aug 6, 2024
1 parent fbf9324 commit 7f3832f
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 26 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Togglight

**Togglight** is a simple puzzle game where you toggle lights that are on a grid between off and on states.
**Togglight** is a lights out puzzle game where you toggle lights between off and on states.
Unlike other games, the grid you play on can contain cells without lights.

# Play
# Play the game

Play the game [right now](https://github.com/DydyCraft-21/Togglight) (not the correct link yet).
The game will be soon playable via its own website.

# Setup local env

You'll need to install NodeJS and Angular. Once done, follow these steps.

1. Clone the project.
2. On root, execute ``ng serve``.
3. Go to http://localhost:4200/
3 changes: 3 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
134 changes: 117 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.1.1",
"@angular/cli": "^18.1.1",
"@angular/cli": "^18.1.3",
"@angular/compiler-cli": "^18.1.0",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.1.0",
Expand Down
3 changes: 2 additions & 1 deletion src/app/dialog/dialog.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
left: 0;
background-color: var(--gray-filter);
z-index: 1;
text-align: center;

.dialog-close
{
Expand Down Expand Up @@ -41,7 +42,7 @@
p
{
width: 100%;
padding: 20px;
padding: 20px 20px 0 20px;
text-align: center;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/services/dialog.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export class DialogService
easterEgg: new Dialog
(
'action-confirm',
'おもろいだ、あれ。',
'',
'Easter Egg Found !',
'As one man said, an app without a konami code isn\'t a real app.',
[]
),
}
Expand Down
Loading

0 comments on commit 7f3832f

Please sign in to comment.