Please can somebody help me as I'm a lil bit new to game dev and user interface designing. I am trying to create a simple Texas holdem poker using phaser3 for multiplayer application. I have a few doubts this is my app.js
const config = {
type : Phaser.AUTO,
width : 800,
height : 600,
backgroundColor : #000000,
physics : 'arcade',
scene : {
preload : preload,
create : create,
update : update
}, }
var game = Phaser.Game(config);
What is actually happening in this code and what should be my project folder structure for any simple multiplayer online game. Can I set the witdh and height dynamically depending on the device width and orientation??.
Please anybody who could just explain me a few things about gamedev...
Thanks in advance.