Questions

  1. What are the pieces called in Tetris?
  2. What is one reason for choosing not to port an existing C++ code base to Emscripten?
  3. What tool did we use to compile the game natively (for example, to an executable)?
  4. What is the purpose of the constants.h file?
  5. Why were we able to eliminate the SDL2_ttf library?
  6. Which Emscripten function did we use to start running the game?
  7. Which argument did we add to the emcc command to build the game and what purpose does it serve?
  8. What advantage does emrun offer over a tool like serve and Browsersync?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset