Skip to content

Commit

Permalink
snakegame: reformat and clean up code
Browse files Browse the repository at this point in the history
Add docstrings and comments

Separate UI into sub functions

Move defaults and constants to module level
  • Loading branch information
masenf committed Sep 29, 2023
1 parent 4b851b8 commit 9267d6b
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 193 deletions.
4 changes: 3 additions & 1 deletion snakegame/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
reflex>=0.2.0
#reflex>=0.2.9
# temporary until state.reset() bug is fixed
git+https://github.com/reflex-dev/reflex@masenf/state-reset-deepcopy
Loading

0 comments on commit 9267d6b

Please sign in to comment.