From 07ccc24debf8b3035c83b9fb9f92e28585419f67 Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Wed, 26 Jun 2024 17:18:34 +0200 Subject: [PATCH] refactor simple-version/game --- src/simple-version/game.phel | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/simple-version/game.phel b/src/simple-version/game.phel index 550bccd..495d2d2 100644 --- a/src/simple-version/game.phel +++ b/src/simple-version/game.phel @@ -9,8 +9,10 @@ (ns phel-snake\simple-version\game (:require phel-cli-gui\terminal-gui :as gui)) -(gui/add-output-formatter {:style-name "snake-head" :foreground "black" :background "red" :options ["bold"]}) -(gui/add-output-formatter {:style-name "snake-tail" :foreground "black" :background "green" :options ["bold"]}) +(gui/add-output-formatter {:style-name "snake-head" + :foreground "black" :background "red" :options ["bold"]}) +(gui/add-output-formatter {:style-name "snake-tail" + :foreground "black" :background "green" :options ["bold"]}) (defstruct board-struct [width height]) (defstruct snake-struct [direction speed head tail])