How to make my html5 game accessible online

Thanks, debian 8 and apache did the trick! If people need a tutorial of how i did i would be more than happy to write a small one.

Now open index.html, add a title for your page and create links to all the JS files. Later, to play the game, just open this file in your browser.Yep, I do not worry about that. Flash is also not closed. Even native applications, is not closed. If youā€™re targeting to the mobile market - wrap your HTML5 with smth like NativeCanvas or similar. Installed app assets are not accessible for regular user. From other hand, hacker will break your game anyway will it be Flash, HTML5 or C++ - doesnā€™t matter.

<!doctype html>
<html>
<head>
<meta charset=ā€œUTF-8ā€ />
<title>Snake</title>
<script src=ā€œassets/js/phaser.min.jsā€></script>
<script src=ā€œassets/js/menu.jsā€></script>
<script src=ā€œassets/js/game.jsā€></script>
<script src=ā€œassets/js/game_over.jsā€></script>
<script src=ā€œassets/js/main.jsā€></script>
</head>
<body>

</body>
</html>

JOhnRose thx for your reply , need to try linux server

Did you finish your html5 game? If yes, please, I want to see it.

Sadly i havenā€™t work on it since a while because of a few reasons:
lack of time
I like programming but i started with blueprints, wich i find kind of boring, right now i wonā€™t be able to learn C++ because it is quite hard
A friend started a nice 2D game on unity but i doesnā€™t have the motivation to finish it, so i may do it myself.