Running a c++ game on web browser

I have a game in c++ using GLUT.
Now i want that game to run on Web browser.
Do i need to write the whole game again or few modifications will do the job?


  • try to inject your c code into flash
  • actually its a chess u mean i need to build the game again in flash to be able to play on web browser.
    since i have no experience writing flash games,is it possible to write chess game in flash or do i need to code in some other language?
  • there must be a command in flash to use c commands directly or call compiled .exe or you can use command line functions in your c program to open browser. try
    gwbasic 10 CLS
    qbasic A$=INKEY$
    fortran printf("hello word");
    labview |_|--->|_|-|-|_|----->o
    c if(A=='q') {
    cobol MOVE "hello world" TO A
    c++ }
    algol END
    pascal .
  • make it a cgi file

    if you are on linux here's a library you can use

    if you are on windows here's a little tutorial:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!