falling-turnip
Allure
Our great sponsors
falling-turnip | Allure | |
---|---|---|
2 | 8 | |
66 | 209 | |
- | 0.0% | |
0.0 | 3.6 | |
almost 11 years ago | 4 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | GNU Affero General Public License v3.0 or later |
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.
falling-turnip
-
Show HN: Making a Falling Sand Simulator
If you want more performance, falling sand simulators can further be made parallel by implementing them using Margolus Neighbourhoods, as in Falling Turnip: https://github.com/tranma/falling-turnip
The idea is that a single iteration divides the world into 2x2 squares and then applies effects sequentially within each square, but not between the squares. This means each square can be processed independently. In the next iteration, the division into squares shifts right and down by one cell each direction. This does mean you need more steps than in a sequential implementation, but I found it to be quite a principled approach to parallelizing cellular automata when I first read about it. One interesting side effect of this design is that falling particles end up being separated by blank space, as shown here: https://futhark-lang.org/static/falling-sand-2016.12.04.webm I wonder if that is fixable.
Allure
- Is there anyone here using Haskell for anything other than web development?
-
Looking for txt logs of runs to train ML project, any game could do.
and https://github.com/AllureOfTheStars/Allure/suites/3798409868/artifacts/93778115 is the version with the throughput I advertised (there are corresponding Windows binaries somewhere, probably slower). Here's the commandline to use:
- Sharing Saturday #357
-
Procedural NPC generation
https://github.com/AllureOfTheStars/Allure/blob/bceb8f3572b9640289a31033f625b526c74ab3db/GameDefinition/Content/ItemKindOrgan.hs#L921
What are some alternatives?
Tic-Tac-Toe - :x: :o: TicTacToe in Haskell.
breakout - Breakout
tateti-tateti - Meta tic-tac-toe ncurses game.
Nomyx - The Nomyx game
HGE2D - 2D game engine written in Haskell
aeson-tiled - Aeson instances for Tiled map editor types
general-games - Haskell package with helpful structures for a variety of games
werewolf - A game engine for running werewolf in a chat client
Hipmunk - Haskell binding for Chipmunk, 2D physics engine.
LambdaHack - Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at