Graph
Man
Contest
with Richard Minerich
and Paulmichael Blasucci
of Bayard Rock
You can buy this awesome t-shirt on thread...
F# Foundation
Working Groups:
Web Programming
Math and Statistics
Data Access
Data Science
Cloud Programming
Machine Learn...
Prizes
How it Works
Tick!
World Update
Pac-Man AI
(Full board)
Ghost AI
(Line of sight)
Points
Pellets are worth 10
Power Pellets are worth 50
Ghosts are worth 200, 400, 800, 1600…
which resets when super mode ...
API Details
type GhostColor = Red | Pink | Cyan | Orange
type Creature = PacMan of int | Ghost of GhostColor | WeakGhost
t...
API Details (Part 2)
type Move = Up | Down | Left | Right
interface IPacManAI with
member this.Decide (previous: Move) (po...
The Rules
• No reflection, decompilation or otherwise cheating
• You have three hours, then we’ll take the best attempt
• ...
Time to Get Started
http://tinyurl.com/pacman-must-die
Don’t be afraid to ask if
you have any questions.
Artwork by Scott ...
Time to Get Started
http://tinyurl.com/pacman-must-die
Don’t be afraid to ask if
you have any questions.
Artwork by Scott ...
Upcoming SlideShare
Loading in …5
×

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

771 views

Published on

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
771
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. Graph Man Contest with Richard Minerich and Paulmichael Blasucci of Bayard Rock You can buy this awesome t-shirt on threadless
  2. 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. 3. Prizes
  4. 4. How it Works Tick! World Update Pac-Man AI (Full board) Ghost AI (Line of sight)
  5. 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. 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. 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. 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. 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. 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

×