- Oct 15, 2016
- 132
- 41
I am fed up with HTML games that are developed at windows, so they do not work on any *nix operating system, neither on a webhosting site.
So I have made a quick and dirty short program, that acts as a webserver and finds the files in a case insensitive way.
To use it:
Install python3. Make sure that python3 is on your PATH.
Take the attached case_insensite_http.txt file, and place it into the HTML game directory as case_insensite_http.py
Open a terminal, and cd into the HTML game directory.
Run: python3 case_insensite_http.py
Open browser at: localhost:8080 or 127.0.0.1:8080
Click your HTML game startpage.
So I have made a quick and dirty short program, that acts as a webserver and finds the files in a case insensitive way.
To use it:
Install python3. Make sure that python3 is on your PATH.
Take the attached case_insensite_http.txt file, and place it into the HTML game directory as case_insensite_http.py
Open a terminal, and cd into the HTML game directory.
Run: python3 case_insensite_http.py
Open browser at: localhost:8080 or 127.0.0.1:8080
Click your HTML game startpage.