Haskell-Tetris
adventofcode
Our great sponsors
Haskell-Tetris | adventofcode | |
---|---|---|
2 | 44 | |
24 | 310 | |
- | - | |
0.0 | 9.5 | |
almost 3 years ago | 2 months ago | |
Haskell | C# | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Haskell-Tetris
-
Tetris project I made in Haskell
You're going to have a much easier time using something like Map.Map (Int, Int) GridSquare for your matrix instead of the nested lists. Although from a didactic perspective mapBoard was probably good to write, if you model the matrix as a Map it becomes trivially Map.mapWithKey. You can also filter, fold, and traverse the map, so e. g. getFallingPieces could be written:
adventofcode
- -❄️- 2023 Day 11 Solutions -❄️-
-
-❄️- 2023 Day 9 Solutions -❄️-
https://github.com/encse/adventofcode/blob/master/2023/Day09/Solution.cs
- -❄️- 2023 Day 7 Solutions -❄️-
- -❄️- 2023 Day 6 Solutions -❄️-
- -❄️- 2023 Day 5 Solutions -❄️-
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
What are some alternatives?
haskell-game-programming - A central repository of Haskell Game Programming resources, put together by Keera Studios
codewars.com - Issue tracker for Codewars
projecteuler - Project Euler problems in Awk.
data-engineer-roadmap - Roadmap to becoming a data engineer in 2021
mal - mal - Make a Lisp
advent-of-code-2020 - Solutions for AdventOfCode 2020
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
build-your-own-x - Master programming by recreating your favorite technologies from scratch.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
vulkano - Safe and rich Rust wrapper around the Vulkan API
build-your-own-x - 🤓 Build your own (insert technology here) [Moved to: https://github.com/codecrafters-io/build-your-own-x]
advent-of-code-2019 - Advent of Code 2019 Solutions (Spoilers!)