Hi there, here is a quick show and tell of a little project I have been working on for the last 4 days.
It’s a small game called “Mezzo”, you can play it over at itch.io. It plays like a solitare version of Uno, but every card consists of two halves. (Therefore the name “Mezzo”, meaning half in italian) The goal is to collect all 8 different colors by combining different halves into new cards.
You can find the source-code here. Technically, I can’t really say much. The Elm experience was great and maybe the fact that I had no pain points during development should speak for itself. The packages I used where
- mdgriffith/elm-ui + Orasund/elm-ui-widgets for the view function
- mhoare/elm-stack to implement the stack of all cards that were put aside
- turboMaCk/queue for implementing the deck of cards
- array-extra, list-extra and result-extra from elm-community. I believe one should always prefer using the implemented functions from the elm-community libraries instead of implementing them yourself. It makes your code easier to read.
That’s all there is really. Please feel free to try out my game. I’d love to get some feedback. Cheers