r/haskellgamedev • • Sep 20 '21

Looking for help making a simple game in Haskell

0 Upvotes

Hi guys. Sorry if I sound like a complete noob, it most likely is because I am. I have an NFT project that I am working on. Down the line I want to make some simple games where the player can use their nft character to play. With no coding experience where do you suggest i begin my journey? Is this even possible to do? Thanks. If you are interested in the project it is called Cardano Cactus!


r/haskellgamedev • • Jan 17 '16

Best 3D engine for VR?

0 Upvotes

r/haskellgamedev • • Oct 17 '19

Frustration levels rising

Thumbnail nek0.eu
5 Upvotes

r/haskellgamedev • • Apr 07 '22

Requesting help on a basic Haskell project (using cabal and CodeWorld API)

3 Upvotes

I am doing a project right now, its a very simple program but I've only been learning Haskell for a month. Anyone here who is experienced at Haskell? I would love to send over the specifications and my code.

I'm really stuck and want to get over this hurdle I have.

Many thanks.


r/haskellgamedev • • Sep 17 '17

Game Dev discord (Not league)

0 Upvotes

Hello! Are you looking for a humble, welcoming community of game devs? Then your in luck! We accept devs of any kind, monogame devs, rust devs, you name it! Interested? Then join us!

https://discord.gg/2E8BsPW


r/haskellgamedev • • Jun 14 '26

My discord Account got hacked, is there a way i can get unbanned?

0 Upvotes

I ran a .exe file and my account started spamming some Mr. Beast scam on all my contacts and servers on Discord. I think that's the reason i got banned from the discord server. If so, i'm so sorry, it won't happen again. Now i formatted my pc, changed all passwords, and enabled two factor autentification.

Is there a way i can get unbanned? My username is darxad


r/haskellgamedev • • Oct 13 '14

A gamedev.net article on modeling subclassing in Haskell

2 Upvotes

Haskell Game Object Design - Or How Functions Can Get You Apples

In a nutshell: the "base object" is a data type, and "subclasses" are functions which operate on that type (and supplemental data when needed). This is probably "doing it wrong" from an idiomatic Haskell perspective, but it's a great translation of a near-ubiquitous concept in modern game architecture into an uncomplicated functional model that remains extensible.


r/haskellgamedev • • Jul 22 '20

HASKELL CODER NEEDED. NEXT LEVEL. GAME CHANGING PROJECT.

Thumbnail self.cardano
0 Upvotes

r/haskellgamedev • • Sep 11 '21

Gaming language

4 Upvotes

Hello developers,

I am busy developing a project related to crypto/blockchain and looking for some more information on the development of gaming. Is Haskell the right language to develop a online game? both on desktop as well as mobile? Or are there better ones to work with?


r/haskellgamedev • • Nov 12 '14

New Book - Game Programming in Haskell

18 Upvotes

Following on from her recent Strange Loop talk, Elise Huard is writing a book on Game Programming in Haskell. Looks promising.


r/haskellgamedev • • May 02 '22

An AI research tool for learning Haskell, FRP, or any other topic online

8 Upvotes

r/haskellgamedev • • 9d ago

I added Live Coding to my Haskell Game Engine!

9 Upvotes

r/haskellgamedev • • Jul 26 '16

Thoughts of a top tier Haskell game engine.

10 Upvotes

The entire industry is moving towards Vulkan and DX12, and scalable multicore architectures.

What do I mean by scalable multicore though?

Well in the past it was very much one OS thread per distinctive activity (Scripting, Physics, GPU, Sound, etc), this never seemed to scale past 2.5~cores, which is fine for an Intel 4 Core CPU, but as users/devs of PS4 and Bulldozers realized...It's an issue.

What does a modern engine look like?, everyone is talking about fibers and messaging / "tasks", and removing the notion of a "frame", which is ironically strange considering haskell does one step better and get preemptive green threads, when most actual Haskell games use single threaded FRP designs.

haxl does automated batching and concurrency/parallelism, from a procedural DSL, Which sounds to me like it solves a lot of problems facings GPU management these days and overall game design (easy to write code, or parallelism - pick one).

Other things to consider: call performGC every frame, as most users of Kerbal Space Program on a slow CPU are well aware, intermittent garbage collection sucks.

If your scripting is a DSL, having it automatically and securely create a compact network protocol, that supports things like client side prediction, and server side lag compensation.

What kind of games could this produce? Well the current benchmark for a high performance engines seems to be RTSs (Dota 2, Vulkan; Ashes of the Singularity, DX12), even a simple boids flocking sim can benefit from smart design


r/haskellgamedev • • May 01 '21

Powerups landed in my game

Thumbnail nek0.eu
10 Upvotes

r/haskellgamedev • • Nov 23 '19

[XPost] PatternSynonyms as a middle ground between (lax) strings and (restrictive) enums for references between game content elements

Thumbnail reddit.com
12 Upvotes

r/haskellgamedev • • Sep 30 '14

ANN: Nomyx V0.7, the only game where you can change the rules

12 Upvotes

I released Nomyx V0.7, the only game where You can change the rules!
Here is the website: www.nomyx.net
Here is a video introduction of the game: http://vimeo.com/58265498
I created a tutorial to learn how to play: http://www.corentindupont.info/blog/posts/2014-09-23-first-Nomyx-tutorial.html

Let's start a new game! I propose to call it "The Space Merchants". Dear rulers, this part of the Galaxy is yours...
Please login to the game here: www.nomyx.net:8000/Nomyx.
The corresponding forum thread is here: http://www.nomyx.net/forum/viewtopic.php?f=4&t=1525&p=1739
Please also register on the mailing list to follow the game: [email protected]

Some background: this is an implementation of a Nomic [1] game in Haskell (I believe the first complete implementation of a Nomic game on a computer). In a Nomyx game you can change the rules of the game itself while playing it. The players can submit new rules or modify existing ones, thus completely changing the behaviour of the game through time. The rules are managed and interpreted by the computer. They must be written in the Nomyx language, which is a subset of Haskell.

At the beginning, the initial rules are describing:

  • how to add new rules and change existing ones. For example a unanimity vote is necessary to have a new rule accepted.

  • how to win the game. For example you win the game if you have 5 rules accepted.
    But of course even that can be changed!

New in this beta release:

  • the Nomyx language is now based on functional reactive programming

  • the language also embeds a mechanism to separate effectful instructions from effectless ones

  • ability to fork an existing game into a new one

  • ability to type-check rules before submitting them

  • ability to create new games

If you wanna help developing Nomyx, join us on the dev mailing-list: [email protected]

[1] www.nomic.net


r/haskellgamedev • • May 09 '20

(Buggy) #AI is ruthless: armadillo gets hungry and eats its own flesh to fix it before attack

Post image
14 Upvotes

r/haskellgamedev • • May 05 '19

How many of you have abandoned Haskell Game Dev for Rust Game Dev?

14 Upvotes

Just looking for some honesty here


r/haskellgamedev • • Sep 03 '14

I'm working on a Haskell game engine

14 Upvotes

Shortly after learning about Haskell, I checked out the existing game engines (Netwire, Helm...), but the FRP stuff was a bit over my head, and I couldn't understand how they could be used to build anything beyond very simple games. So instead, I started building my own engine based on the concept of entity systems, which I had used successfully in the past.

The result is Hickory: https://github.com/asivitz/Hickory

It's very much work in progress, and the documentation is very slim at the moment, but there's an example Freecell game in there that works pretty well.

I would love feedback on it, especially from someone that is more knowledgeable than me about the FRP engines.


r/haskellgamedev • • Oct 04 '20

Game :: Dangerous: New video update

15 Upvotes

Hi. I've posted a new video update about the Game :: Dangerous project (linked below). I've also posted on r/Haskell about it this time (the previous post on my profile). I thought it would be a bit off to not mention it here as well, as several people have shown an interest and moral support :) . Please feel free to check out the aforementioned.

Video update: https://youtu.be/gBaIU4U6eQs


r/haskellgamedev • • Feb 07 '23

The first Haskell Tiny Game Jam is now open!

20 Upvotes

Your mission: make Haskell games in 10 lines. https://github.com/haskell-game/tiny-games-hs and the #haskell-game chat room await your entries. Good luck!


r/haskellgamedev • • Oct 01 '14

How to install SDL2 and the Haskell SDL2 bindings on Windows

25 Upvotes

I wasted 2 days getting this to work, so please benefit from my pain.

  1. Download the SDL2 Mingw Development Libraries from https://www.libsdl.org/download-2.0.php

Unzip it

Move SDL2-2.0.3 to C:\SDL2-2.0.3\

2) If you are installing version 2.0.3 of sdl2, download this file: https://hg.libsdl.org/SDL/raw-file/e217ed463f25/include/SDL_platform.h

Paste it over C:\SDL2-2.0.3\x86_64-w64-mingw32\include\SDL2\SDL_platform.h

This fixes a bug that blocks installation in 2.0.3 that should be fixed in 2.0.4.

3) This is an optional step, but it's good for debugging installation problems. Download http://lazyfoo.net/tutorials/SDL/01_hello_SDL/01_hello_SDL.zip

Unzip it and run this command in the same directory:

g++ 01_hello_SDL.cpp -IC:\SDL2-2.0.3\x86_64-w64-mingw32\include\SDL2 -LC:\SDL2-2.0.3\x86_64-w64-mingw32\lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o 01_hello_SDL

It should compile.

If it says: "winapifamily.h: No such file or directory" You didn't paste over SDL_platform.h.

4) Download pkg-config if you don't have it http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/

Unzip it.

Add pkg-config.exe to your path.

5) Run these commands to install the sdl2 bindings:

set PKG_CONFIG_PATH=C:\SDL2-2.0.3\x86_64-w64-mingw32\lib\pkgconfig
set PATH=C:\SDL2-2.0.3\x86_64-w64-mingw32\bin;%PATH%

If you want 64 bit games:

cabal install sdl2 --extra-lib-dirs=C:\SDL2-2.0.3\include --extra-include-dirs=C:\SDL2-2.0.3\lib\x64

otherwise:

cabal install sdl2 --extra-lib-dirs=C:\SDL2-2.0.3\include --extra-include-dirs=C:\SDL2-2.0.3\lib\x86

6) Try it out. This file should open a window for 2 seconds before closing it. https://raw.githubusercontent.com/palf/haskellSDL2Examples/master/src/lesson01.hs


r/haskellgamedev • • Apr 20 '26

CLI world generator that takes geology into account

Thumbnail gallery
13 Upvotes

not exactly a game, but I made this in haskell and I'm proud 😇


r/haskellgamedev • • Nov 13 '23

Trying to get a clean dev environment set up

6 Upvotes

I'm currently in college and taking declarative programming. We are building a game for our final project. Does anyone have a solid guide or recommendation for how to build a stable development environment? I've tried running VMs and Linux partitions and using SDL2 and Gloss but I can't get it working.