A dart full-stack application for playing cards against humanity (ITA) on web
This project is ready to play only on a desktop or tablet. For building the application we must install last Flutter SDK (from beta or master branch) and last Dart release and then we can start to build the application:
Before starting, you should create a directory (for example cah_game) where you put the flutter web application and the game server.
- From project folder, open the terminal and write this command for compiling flutter front end
flutter build web
After that, copy the web build folder; which is on build directory of the project, in cah_game folder and rename it into app.
- Build the game server app with the command (change <path> with the path for cah_game folder)
dart2native lib_webserver/main.dart -o <path>/cah_server.exe
- Copy the directory card_datasource in cah_game
- Try the game executing
cah_server.exe
and connection atlocalhost:4040/index.html
Flutter for the environment
ProjectCah42 for the cards
LittleRobotSoundFactory for win song