You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ Running a web-compatible recipe:
138
138
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ShapesHalogenHooks/src/Main.purs)) |[ShapesHalogenHooks](recipes/ShapesHalogenHooks)| Demonstrates rendering of SVG shapes. |
139
139
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/SignalRenderJs/src/Main.purs)) |[SignalRenderJs](recipes/SignalRenderJs)|[Signal](https://pursuit.purescript.org/packages/purescript-signal/10.1.0) demo that responds to user input and elapsed time. |
140
140
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/SignalSnakeJs/src/Main.purs)) |[SignalSnakeJs](recipes/SignalSnakeJs)| A snake game built using [Signal](https://pursuit.purescript.org/packages/purescript-signal/10.1.0). |
141
+
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/SignalTrisJs/src/Main.purs)) |[SignalTrisJs](recipes/SignalTrisJs)| A [tetromino](https://en.wikipedia.org/wiki/Tetromino) game built using [Signal](https://pursuit.purescript.org/packages/purescript-signal/10.1.0). |
141
142
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/TextFieldsHalogenHooks/src/Main.purs)) |[TextFieldsHalogenHooks](recipes/TextFieldsHalogenHooks)| A Halogen port of the ["User Interface - Text Fields" Elm Example](https://elm-lang.org/examples/text-fields). |
142
143
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/TextFieldsReactHooks/src/Main.purs)) |[TextFieldsReactHooks](recipes/TextFieldsReactHooks)| A React port of the ["User Interface - Text Fields" Elm Example](https://elm-lang.org/examples/text-fields). |
143
144
||:heavy_check_mark: ([try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/TimeHalogenHooks/src/Main.purs)) |[TimeHalogenHooks](recipes/TimeHalogenHooks)| A Halogen port of the ["Time - Time" Elm Example](https://elm-lang.org/examples/time). |
A [tetromino](https://en.wikipedia.org/wiki/Tetromino) game built using [Signal](https://pursuit.purescript.org/packages/purescript-signal/10.1.0).
4
+
5
+
This was rewritten from [@cheery](https://github.com/cheery)'s [version](https://boxbase.org/entries/2020/aug/5/how-a-haskell-programmer-wrote-a-tris-in-haskell/) version to address some of the concerns outlined in the original blog post.
6
+
7
+
## Expected Behavior:
8
+
9
+
### Browser
10
+
11
+
Renders a game where [tetrominos](https://en.wikipedia.org/wiki/Tetromino) fall from the top of the screen. Use the arrow keys to move and rotate each block. Fill entire rows to eliminate blocks and increase your score. The game speed increases with your score to increase difficulty over time.
0 commit comments