r/haskell • u/simonmic • Feb 07 '23
announcement The first Haskell Tiny Game Jam is now open!
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!
74
Upvotes
7
u/Apprehensive_Bet5287 Feb 08 '23
How many characters can ghc handle on one line?
2
u/gergoerdi Feb 09 '23
Does anyone have any ideas on how to get a random number (byte?) in one line in IO, without any non-
basepackage? Asking for a friend.2
u/hellwolf_rt Feb 11 '23
Is non-ASCII letters allowed, e.g. greek letters?
12
u/gelisam Feb 09 '23 edited Feb 09 '23
Wow, some people have perfect memory, others have perfect pitch, I guess I have perfect perception of time??
I guess I've technically been practicing every day: I'm constantly counting down the seconds out loud in order to let my 4 year old know that it will soon be time to move on to a different activity.
9
u/gelisam Feb 08 '23
I have 1.25 lines left to spare. Should I spend it on tracking high scores, improving the graphics, or giving more player feedback? :)
10
u/kindaro Feb 07 '23
Wow, this is a challenge!
9
u/dixonary Feb 07 '23
This is fantastic! I'm definitely going to take part, and I will encourage my students to take part as well (if we get so far as IO by the end of february :) )