8Observer8

Writing multiplayer Tic-Tac-Toe game using Pixi.js and TypeScript

Recommended Posts

I decided to write simple multiplayer games for my portfolio. Maybe my code will be useful for someone. I will write detailed commits on GitHub. Everyone can use my code for free.

The Game will be here: https://tic-tac-toe-socketio-ts.herokuapp.com/

Source Code: https://github.com/8Observer8/tic-tac-toe-socketio-ts

I use:

  • TypeScript
  • VSCode
  • Free Heroku hosting that are connected with GitHub. My game deployed automatically when I push on GitHub
  • AMD and RequireJS for debug version
  • CommonJS, Browserify, UglifyJS for release version

Now my game just shows one "O" object. I will write here about of process of development. You can ask me about my code. Please, report me if you find some errors. Maybe I will take a feedback from how to improve my code.

Date:   Sat Jun 29 23:35:23 2019 +0400
The server sends JSON message 'Hello from server'. Client display this message on the page.

Share this post


Link to post
Share on other sites

See how it is simple to deploy your application that based of my boilerplate on Heroku:

  • Create a new repository on Github
  • Create a new Node.js web application on Heroku: https://www.heroku.com
  • Set "GitHub" in "Deployment method" on the Deploy tab of heroku
  • Push your changes on GitHub

Your server and client well be deployed automatically on Heroku. Heroku will be automatically deploy your app from Github every time when you push your commits on GitHub. See the "Activity" tab when deployment will be finished.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.