JSFiddle - React, Tailwind, and code Playground

by markus636

HTML

<script src='https://cdnjs.cloudflare.com/ajax/libs/phaser/2.6.2/phaser.min.js'></script>

JavaScript

//A game from http://howmuchsugar.in/
//the base 64 image is : http://howmuchsugar.in/sucre-blanc.60x52.png
//example from http://phaser.io/examples/v2/box2d/mouse-drag

var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create });

function preload() {

    game.load.image('block',...