duckmole / elm-pacman

Coding-Dojo : Pacman in ELM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PacMan in elm

Repository for PacMan coding-dojo in ELM

Explanation

The first commit contains skeleton to start.

Run the test

elm-test launch the tests

There are 3 failed tests. Those 3 tests should show 3 different ways we could explore during the dojo :

  • Test Update when press -> key : code key event in elm, and update the model depending of the key.
  • Test Display canvas grid : code the string transformation to canvas. With this dojo we would like to try canvas display.
  • Test Display pacman on grid : more classical functionality (for me). Transform complex model into List Char

Helper : On my computer the code return by arrows are :

  • → '
  • ← %
  • ↑ &
  • ↓ (

The result

About

Coding-Dojo : Pacman in ELM

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 100.0%