Your SlideShare is downloading. ×
Progressive f# tutorials nyc richard minerich & paulmichael blasucci on graph man contest
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Progressive f# tutorials nyc richard minerich & paulmichael blasucci on graph man contest

331
views

Published on

Progressive F# Tutorials NYC: Richard Minerich & Paulmichael Blasucci on Graph Man Contest …

Progressive F# Tutorials NYC: Richard Minerich & Paulmichael Blasucci on Graph Man Contest

This light hearted contest is a chance to solidify what you've learned and maybe even show off a bit. You'll be competing against your track-mates in a graph-based version of the classic Pac-Man game with prizes for the highest scoring players. May the best Pac win!

Published in: Technology, Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
331
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Graph Man Contest with Richard Minerich and Paulmichael Blasucci of Bayard Rock You can buy this awesome t-shirt on threadless
  • 2. F# Foundation Working Groups: Web Programming Math and Statistics Data Access Data Science Cloud Programming Machine Learning Financial Computing Games and Apps Join Today! fsharp.org
  • 3. Prizes
  • 4. How it Works Tick! World Update Pac-Man AI (Full board) Ghost AI (Line of sight)
  • 5. Points Pellets are worth 10 Power Pellets are worth 50 Ghosts are worth 200, 400, 800, 1600… which resets when super mode wears off (~15 seconds) If you clear the board, remaining lives are worth 300 each
  • 6. API Details type GhostColor = Red | Pink | Cyan | Orange type Creature = PacMan of int | Ghost of GhostColor | WeakGhost type TileView = { HasPill: bool HasPower: bool Creatures: Creature list } type WorldView = TileView option [,]
  • 7. API Details (Part 2) type Move = Up | Down | Left | Right interface IPacManAI with member this.Decide (previous: Move) (power: int) (world: WorldView) (choices: Move Set) : Move = … member this.Name () = “Your Name Here"
  • 8. The Rules • No reflection, decompilation or otherwise cheating • You have three hours, then we’ll take the best attempt • Teams are fine, but there’s a maximum of one prize per team • Ties will be decided by sudden death
  • 9. Time to Get Started http://tinyurl.com/pacman-must-die Don’t be afraid to ask if you have any questions. Artwork by Scott Hampson
  • 10. Time to Get Started http://tinyurl.com/pacman-must-die Don’t be afraid to ask if you have any questions. Artwork by Scott Hampson