summaryrefslogtreecommitdiff
path: root/src/state/const.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/const.ts')
-rw-r--r--src/state/const.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/state/const.ts b/src/state/const.ts
new file mode 100644
index 0000000..caac8ce
--- /dev/null
+++ b/src/state/const.ts
@@ -0,0 +1,11 @@
+export const GAME_SIZE = {
+ rows: 20,
+ cols: 20,
+};
+
+export const INITIAL_PADDLE_POSITION = 10;
+
+export const PADDLE_WIDTH = 3;
+export const PADDLE_HEIGHT = 1;
+
+export const NUM_STARTING_BALLS = 2;