<br><font size=2 face="sans-serif">I was able to compile and play space
invaders on linux. </font>
<br>
<br><font size=2 face="sans-serif">Hours of fun for the whole family :)</font>
<br>
<br><font size=2 face="sans-serif">thomas.</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Peter Verswyvelen &lt;bf3@telenet.be&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: haskell-cafe-bounces@haskell.org</font>
<p><font size=1 face="sans-serif">11/20/2007 06:46 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
bf3@telenet.be</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Don Stewart &lt;dons@galois.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Haskell-Cafe &lt;haskell-cafe@haskell.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Haskell-cafe] The Yampa Arcade:
source code available?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Thanks for the feedback. Unfortunatly the Space Invaders
game uses HGL, which is not supported on Windows anymore. Is it supported
on Linux?<br>
<br>
Frag does compile and run on Windows using GHC 6.6.1, so that might be
a better starting point.<br>
<br>
What is the current consensus regarding (A)FRP? Is it a dead end? Are approaches
like </font><a href=http://en.wikipedia.org/wiki/Modelica><font size=3 color=blue><u>Modelica</u></font></a><font size=3>
better suited for the job?<br>
<br>
&gt;From the point of view of a veteran assembly/C++ game hacker like myself,
it is funny to see that the same problems popup when doing &quot;reactive
programming&quot; in a pure language like Haskell or an imperative language
like C++... Recursive dependencies are problematic, be it with signals
in FRP or with objects in C++. In videogames using an imperative language,
this is often solved by just adding a global &quot;single frame&quot; delay
between what is read and what is written. Ugly, but works in many cases.
Or a third object is introduced that breaks the recursive dependency between
the two problematic objects. If I'm correct, when switching from FRP to
AFRP signals (type Signal a = Time -&gt; a) are no first class values anymore,
only signal functions (type SF a b = Signal a -&gt; Signal b) are first
class. Furthermore the handling of recursive dependencies/feedback is done
solely in a loop arrow. <br>
<br>
I must say it is frustratring. I finally got to understand FRP from the
SOE book, only to find out that it is not really the way to go ;-) Now
I'm trying to grasp AFRP. It is incredibly interesting stuff, but for a
not-so-abstract-thinking-average programmer like me, it is not an obvious
task. Maybe *using* AFRP is easier than understanding the inner details...<br>
<br>
Maybe it would be a good idea for the community if someone (maybe me, if
I find the time ;-) to write a very very simple game using AFRP and GHC
6.8.1? Even simpler than the Space Invaders game (which does not work anymore
anyway), but which does show dynamic collections and switching? Maybe like
Andrew Coppin mentioned, a very simple Tetris clone? Of course, this is
not legal, Tetris is copyrighted, but maybe for tutorial purposes it can
be allowed :)<br>
<br>
Don Stewart wrote: </font>
<br><tt><font size=3>sk:<br>
 &nbsp;</font></tt>
<br><tt><font size=3>On 19.11.2007, at 19:54, Peter Verswyvelen wrote:<br>
 &nbsp; &nbsp;</font></tt>
<br><tt><font size=3>I can find the paper, but is the source code for that
Space &nbsp;<br>
Invaders alike game also available somewhere?<br>
 &nbsp; &nbsp; &nbsp;</font></tt>
<br><tt><font size=3>it's included here: </font></tt><a href="http://haskell.org/yampa/afrp-0.4-src.tgz"><tt><font size=3 color=blue><u>http://haskell.org/yampa/afrp-0.4-src.tgz</u></font></tt></a><tt><font size=3><br>
<br>
btw, does anybody know what's the current state of affairs with yampa/
<br>
afrp? is the framework still developed further?<br>
 &nbsp; &nbsp;</font></tt>
<br><tt><font size=3><br>
Can we get this uploaded to hackage? <br>
<br>
-- Don<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
</font></tt><a href="mailto:Haskell-Cafe@haskell.org"><tt><font size=3 color=blue><u>Haskell-Cafe@haskell.org</u></font></tt></a><tt><font size=3><br>
</font></tt><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe"><tt><font size=3 color=blue><u>http://www.haskell.org/mailman/listinfo/haskell-cafe</u></font></tt></a><tt><font size=3><br>
<br>
<br>
 &nbsp;</font></tt>
<br><tt><font size=2>_______________________________________________<br>
Haskell-Cafe mailing list<br>
Haskell-Cafe@haskell.org<br>
http://www.haskell.org/mailman/listinfo/haskell-cafe<br>
</font></tt>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">---</span><br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">This e-mail may contain confidential and/or privileged information. If you </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">are not the intended recipient (or have received this e-mail in error) </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">please notify the sender immediately and destroy this e-mail. Any </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">unauthorized copying, disclosure or distribution of the material in this </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">e-mail is strictly forbidden.</span><br>