Skip to content

About

Tetris mini game build for the web

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Mini-tetris

Building project

To build and test a new C++ file :

g++ .\main.cpp -o tetris2.exe -Wall -I include/ -L lib/Windows/ -lraylib -lgdi32 -lwinmm -lopengl32

To build and test the HTML document :

em++ -o tetris.html main.cpp -Os -Wall ./lib/Web/libraylib.a -I. -I ./include -L. -s USE_GLFW=3 --shell-file shell/shell.html -DPLATFORM_WEB

Setup a database

First create a database named

tetris

And then add the LEADERBOARD table to it Dont forget to change the passwd inside 'score.php'

About

Tetris mini game build for the web

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages