how can i show standalone python game on web server page?

182 views Asked by At

my first question.

I made a simple standalone game by using python3.x (old game - called 'pangpang')

so, i'm going to play this game on web page, but i cant apply this on web page.

now, i'm using python3 with flask, pip, pycharm, kali linux in virtual machine(Virtual box).

and i can play this game on local area.

here is my program steps.

  1. init.py file starting flask server.
  2. in init.py : @app.route('/game'): return render_template('game.html') => this looks like operate well, but i used brython in game.html file... => i think this file isn't work well.

In game.html file, i import brython js files

if you have any idea answer me please.

thanks

0

There are 0 answers