Re: [BFPG] Slides/Code/App from last night

From: Raahul K.
Sent on: Tuesday, October 1, 2013 3:28 PM
Cool! I'll play with the code a bit more, and after I finish the Reactive programming course on Coursera I'll either understand your code, or have better questions for you.


On Mon, Sep 30, 2013 at 8:33 AM, Nick Partridge <[address removed]> wrote:
That's essentially just an interface declaration:

    interface Renderer {
        void render(World world, GameState gameState, Sky sky);
    }

In FSB/Renderer/SDL.hs there's an 'instance'. I had started to play around with the idea of ghcjs and a canvas based renderer but didn't get very far. This was me decoupling the SDL-specific parts from the game


On Wed, Sep 25, 2013 at 9:18 PM, Raahul Kumar <[address removed]> wrote:
Seems nice. In the middle of learning FRP, so can you explain how come the renderer is just a oneliner?

newtype Renderer = Renderer {
                     render :: World -> GameState -> Sky -> IO ()
                   }




On Wed, Sep 25, 2013 at 9:22 AM, Nick Partridge <[address removed]> wrote:
Hey everyone,

Thanks for coming along, I had a lot of fun building that presentation.

The code for the slides is here: https://github.com/nkpart/presenter

The code for Flying Sheep Battles is here: https://github.com/nkpart/flying-sheep-battles

I hope they're readable enough. Both apps have basically been built under hackathon conditions, so it's not the tightest of code.

- Nick




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Nick Partridge ([address removed]) from Brisbane Functional Programming Group (BFPG).
To learn more about Nick Partridge, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Raahul Kumar ([address removed]) from Brisbane Functional Programming Group (BFPG).
To learn more about Raahul Kumar, visit his/her member profile





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Nick Partridge ([address removed]) from Brisbane Functional Programming Group (BFPG).
To learn more about Nick Partridge, visit his/her member profile
To report abuse or block this person, please click here

Our Sponsors

  • iSeek Communications

    Coverage of the cost of pizza for attendees

  • NICTA

    Venue sponsor, and provides pizzas and drinks for Hack Nights

  • Red Hat

    Venue sponsor

  • Skedulo

    Coverage of the cost of pizza for attendees

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy