This is a terminal, you can test this project here.

wasm buildcpp_warships · v0.2.2View release
[........................] 0%loading cpp_warships.wasm

Click the terminal to play — keyboard and mouse go straight to the program