PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / snake-game / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/snake-game/block.json

116 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/snake-game",
5 "title": "Snake Game",
6 "category": "bkbg-interactive",
7 "icon": "games",
8 "description": "Classic Snake game playable in the browser. Keyboard and on-screen touch controls, high-score tracking, multiple speed levels and color themes.",
9 "keywords": [
10 "snake",
11 "game",
12 "arcade",
13 "retro",
14 "fun",
15 "interactive"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-snake-game-editor",
19 "style": "bkbg-snake-game-style",
20 "viewScript": "bkbg-snake-game-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "title": {
32 "type": "string",
33 "default": "Snake"
34 },
35 "subtitle": {
36 "type": "string",
37 "default": "Use arrow keys or on-screen buttons to play"
38 },
39 "gridSize": {
40 "type": "number",
41 "default": 20
42 },
43 "canvasSize": {
44 "type": "number",
45 "default": 400
46 },
47 "defaultSpeed": {
48 "type": "string",
49 "default": "medium"
50 },
51 "showHighScore": {
52 "type": "boolean",
53 "default": true
54 },
55 "showControls": {
56 "type": "boolean",
57 "default": true
58 },
59 "wallsKill": {
60 "type": "boolean",
61 "default": false
62 },
63 "snakeColor": {
64 "type": "string",
65 "default": "#22c55e"
66 },
67 "snakeHeadColor": {
68 "type": "string",
69 "default": "#16a34a"
70 },
71 "foodColor": {
72 "type": "string",
73 "default": "#ef4444"
74 },
75 "gridColor": {
76 "type": "string",
77 "default": "#f3f4f6"
78 },
79 "boardBg": {
80 "type": "string",
81 "default": "#ffffff"
82 },
83 "sectionBg": {
84 "type": "string",
85 "default": "#f0fdf4"
86 },
87 "accentColor": {
88 "type": "string",
89 "default": "#22c55e"
90 },
91 "titleColor": {
92 "type": "string",
93 "default": "#14532d"
94 },
95 "fontSize": {
96 "type": "number",
97 "default": 28
98 },
99 "subtitleSize": {
100 "type": "number",
101 "default": 14
102 },
103 "titleFontWeight": {
104 "type": "number",
105 "default": 800
106 },
107 "titleTypo": {
108 "type": "object",
109 "default": {}
110 },
111 "subtitleTypo": {
112 "type": "object",
113 "default": {}
114 }
115 }
116 }