Search code examples
pythonbrowserartificial-intelligencepygame

Can i code browser games in python in my website


I am not much into gaming but i am learning and doing some practicles in Artifical Intelligence algorithms. Now as i can develop full fledge application so it means even if learn various techniques , i won't be having anything to show in interview.

I have seen that all AI techniques / algorithms are usually tested as simulation. i saw one video from google where they showed their AI techniques in small games wherevery small characters were showing /doing things based on their learning. So i think by implementing them in small games , i can demonstrate what i have learned so that i can have small preactical applicatin.

But i want that on a website , so i want to know whats the best way to have simulations /games inside browser


Solution

  • Games running in the browser are usually developed in either Javascript or Flash. If you're specifically interested in Python for this task, take a look at Pyjamas:

    Pyjamas is a Rich Internet Application (RIA) Development Platform for both Web and Desktop.

    It contains a Python-to-Javascript compiler, an AJAX framework and a Widget Set API. Pyjamas started life as a Python port of Google Web Toolkit, the Java-to-Javascript compiler. Read the FAQ and the list of features.