Skip to content

Commit

Permalink
add message in console
Browse files Browse the repository at this point in the history
  • Loading branch information
canalun committed Feb 17, 2024
1 parent 7c5f644 commit 51c346b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import { getBlocks } from "./blocks"
import { freezePage } from "./freezePage"
import { initializeBallAndBar } from "./initializeBallAndBar"
import { initializeScoreboard } from "./initializeScoreboard"
import { msg } from "./message"
import { standby } from "./standby"

export function main(options: { withScoreboard: boolean }) {
console.log("👶brick-break-anywhere starts👶")
console.log(msg)

freezePage()

Expand Down
18 changes: 18 additions & 0 deletions src/game/message.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export const msg = `
// _ _ _
// | |__ _ _(_)__| |__
// | '_ | '_| / _| / /
// |_.__|_| |_\\__|_\\_\\
//
// | |__| |___ __| |__
// | '_ | / _ / _| / /
// |_.__|_\\___\\__|_\\_\\
// _
// __ _ _ _ _ ___ __ _| |_ ___ _ _ ___
// / _\\\`| ' | || \\ V V | ' \\/ -_| '_/ -_)
// \\__,_|_||_\\_, |\\_/\\_/|_||_\\___|_| \\___|
// |__/
You found me!!
https://github.com/canalun/brick-break-anywhere
`

0 comments on commit 51c346b

Please sign in to comment.