The Flash C++ Compiler (FlasCC) was designed to allow C/C++ developers to deliver existing C/C++ codebases via a web browser using the Flash Player. One common use case is to port an existing game written in C++ and OpenGL. The FlasCC engineering team has taken a popular C++/OpenGL game called Neverball and ported it to the web. This post demonstrates the game running in multiple web browsers and provides links to resources that will help you learn how to port your C++/OpenGL game to the web.
The Neverball project is an open source computer game written in C++ using OpenGL. The goal is to tilt the floor to roll a ball around picking up coins and getting to the exit. You can download the native executable to try the game yourself from the Neverball Downloads page.
The Neverball Downloads page also allows you to download the source code for the game. You can try downloading the source code and using a native g++ toolchain to build a native executable.
Learn how to port this game to run in the browser by reading the extensive article on the Adobe Developer Center that describes how to compile OpenGL games with the Flash C++ Compiler (FlasCC).
The FlasCC engineering team has already built a version of the game and hosted it online for you to try yourself.
This screencast demonstrates the game in action across various web browsers: