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.
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 a box. 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.
@8Observer8, thanks for your boilerplate examples. These look like a great starting place for multiplayer games. Looking forward to your Tic-Tac-Toe implentation!
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.
If you did not try auto deploy from GitHub try it. You need just go to Deploy on Heroku app and clink on the “Connect to GitHub” button. When you “push” on GitHub the Heroku will deploy the application from GitHub.