Home

Awesome

ニョロニョロ - nyoronyoro

Beginner Tutorials: How to build a game in Elm

Demo

Nyoronyoro Game

Building the Game

01 Demo | Post | Ellie | The Game Loop

02 Demo | Post | Ellie | Add Keyboard Support

03 Demo | Post | Ellie | Add the Pause

04 Demo | Post | Ellie | Add the Players

05 Demo | Post | Ellie | Add the Score

06 Demo | Post | Ellie | And Random

07 Demo | Post | Ellie | Add Shots

08 Demo | Post | Ellie | Add Collisions

09 Demo | Post | Ellie | Add Explosions

10 Demo | Post | Ellie | Add Slow-motion

11 Demo | Post | Ellie | Add Sound

12 Demo | Post | Ellie | Add Menu

How to use this repository

Run the following commands

$ git clone https://github.com/lucamug/elm-nyoronyoro-game.git
$ cd elm-nyoronyoro-game
$ npm install
$ cmd/switch-to/01-game-loop
$ cmd/start

To change version of the game

To follow the steps in the tutorial you can switch to the proper version of the game running on of these commands:

$ cmd/switch-to/01-game-loop       
$ cmd/switch-to/02-add-keyboard    
$ cmd/switch-to/03-add-pause       
$ cmd/switch-to/04-add-player      
$ cmd/switch-to/05-add-score       (coming soon)
$ cmd/switch-to/06-add-random      (coming soon)
$ cmd/switch-to/07-add-shots       (coming soon)
$ cmd/switch-to/08-add-collisions  (coming soon)
$ cmd/switch-to/09-add-explosions  (coming soon)
$ cmd/switch-to/10-add-slomo       (coming soon)
$ cmd/switch-to/11-add-sound       (coming soon)
$ cmd/switch-to/12-add-menu        (coming soon)

After that, just run

$ cmd/start