ZuriHac2015/Projects/FRPGames

From HaskellWiki
< ZuriHac2015‎ | Projects
Revision as of 15:23, 27 May 2015 by Damkor (talk | contribs) (Games at ZuriHac2015)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

FRP

Join me (Ivan Perez) during this ZuriHac2015 and write games in Haskell using FRP!

Functional Reactive Programming is a programming paradigm in which values that change are seen as signals, functions that assign one value to each point in time, and transformations between signals are seen as higher-order functions.

In FRP state is hidden, either in the past of other signals or in looped input signals that carry known past values.

My goal is to collaborate with others in creating a game using FRP and to help game enthusiasts write their own games.

What FRP flavour?

I am the maintainer of [Yampa], an FRP implementation structured around concepts of digital signal processing and realised using Hughes arrows.

Examples of Haskell games written in FRP are listed on our project page.

There are obvious caveats in all FRP implementations, Yampa included, so I'd love it for you to help me figure out how to make Yampa better. You do not need to be an expert, I'm very interested in the kinds of API-usability problems that users may run into.

Only Yampa?

Most FRP flavours are quite similar. I am open to using Yampa or any other implementations and to help people realise their own games. I will be writing one game (or beginning to write one, at least), and you are welcome to join me.

Graphics

Of course, you can create your own, although we'll be taking graphics from known websites that allow designers to share assets. I tend to use SDL2 and 2D graphics, only because it's easiest. You can also talk to the LambdaCube3D people and combine FRP and their DSL to create a game.

Hardware

I will probably be taking a wiimote and a wiibar with me, which people in the FRPGames project are welcome to borrow (I only have one, you can bring your own if you want). There's online documentation and examples of how to use it.

What if I don't want to write a game?

If you are interested in FRP, multimedia or anything else we do, you are more than welcome to join the project. FRP has been used in combination with web, so seeing an FRP app would be quite neat.

What if I don't want to use FRP

That's fine! You are more than welcome to join us even if you don't want to use FRP. If you don't know where to start, I can give you pointers to non-FRP Haskell games so that you know where to start.

Can you help me get started?

Yes. Find me (Ivan Perez) at the hackathon. We can give you pointers, answer questions about graphics, Haskell, etc. Depending on how many people we are, we may also split in small groups to create different games, but that's entirely up to you.