miniGameNet

Monkey Forums/Monkey Code/miniGameNet

NotSure(Posted 2015) [#1]


In short ...

Supported features
* auto register players using a basic secret
* exchange messages between player
* highscores retrieve/submit
* auto block unwanted requests
* manage your players through simple UI
* targets flash, html5 and GLFW

Requirements
* a webserver running PHP and PDO sqlite

Download
Latest version

Flash example
Example

Code from example 2



MikeHart(Posted 2015) [#2]
Thanks for sharing!


NotSure(Posted 2015) [#3]
Uploaded one of the examples (flash version). GLFW, html5 and flash works pretty well. The new version also supports highscores.

Give it a try ...
http://www.minigamenet.hostei.com/example4.html


slenkar(Posted 2015) [#4]
no one was online at the time but seems like it took a lot of work

do I need a dedicated server or is it peer-to-peer


NotSure(Posted 2015) [#5]
All you need is a webserver on the internet with PHP and PDO sqlite (is a requirement now)

Because it is based on the HTTP protocol it SHOULD work in every environment. It is based on client<->server but could also be used for turn-based games or other things.


slenkar(Posted 2015) [#6]
oh ok thanks


Derron(Posted 2015) [#7]
Just want to mention: use the php script + db only when your server is running apache(2) or an htaccess-enabled one. Else open up the script file and adjust the DB-path to be outside of the public-html-area of your server directory. Else you allow people to just target the db (by the default db name the script uses) and download it. All data is then nicely packed in one single file for easy exploration.

bye
Ron


NotSure(Posted 2015) [#8]
Great. Thanks for the advice. I'll put it into the PHP code.

That is the reason why there is an .htaccess file added to the .zip. It should prevent downloading the *.db file if your webserver is configured for that.

Supported features:
* auto register players using a basic secret
* exchange messages between player
* highscores retrieve/submit
* auto block unwanted requests
* manage your players through simple UI


Snader(Posted 2015) [#9]
Very nice! Thanks!


silentshark(Posted 2015) [#10]
Nice.. are there any free web hosting services out there which could meet the requirements of this?


NotSure(Posted 2015) [#11]
Yes there are ...

Free hosting with PDO sqlite support
Webhost
Hostinger