Phaser Tutorial: Creating a Simple Card Game | HTML5 Game Development (original) (raw)

You can find a number of tutorials online on how to make card games. This latest one focuses on HTML5 deck of cards management with Phaser.

card deck graphics

The tutorial says that you need to find some nice playing card icons first, and suggests you start with game-icons.net. The site offers a vast range of graphics you can use for your games, as long as you credit the original authors.

As you will see, the entire original source code is only 88 lines long. The part that instructs the creation and shuffling of an array representing a deck of cards is made up of a mere 2 lines.

Phaser tutorial Deck of cards management

Below we have compiled links to the four posts so far that are part of the tutorial series about playing cards.

  1. HTML5 deck of cards management
    The first in the series, this is where you will find the original source code
  2. 1024×1024 texture version
    With updates for mobile version
  3. A first, simple game
    Prototype of the game
  4. “GuessNext” HTML5 card game
    Announcement of the full version release

Guess Next final game version

Cards, Phaser, Playing Cards, Tutorial

HTML5 Game Dev Tutorials