Coder Social home page Coder Social logo

extrawest / slot_machine_game_prototype Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 1.24 MB

Flutter Slot Machine Game Prototype

Home Page: https://lucky-slot-machine-game.web.app/

Kotlin 0.36% Dart 87.56% Ruby 3.68% Swift 1.10% Objective-C 0.10% HTML 7.18%
dart flutter flutter-web game prototype slot slot-machine 777

slot_machine_game_prototype's Introduction

Slot Machine Game

Maintenance Maintaner Ask Me Anything ! GitHub license GitHub release

PROJECT INFO

  • Slot Machine Game based on Flutter v3.3.9
  • Game is properly working on Android, iOS and WEB

Features

  • Slot machine (flutter_slot_machine package)
  • Different lotties effects based on the prize type
  • Shaders warming up

Demo

Slot Machine Game

Installing:

1) Clone this repo to your folder:

git clone https://gitlab.extrawest.com/i-training/flutter/slot_machine_game

2. Change current directory to the cloned folder:

cd slot_machine_game

3) Get packages

flutter pub get

Firebase hosting

  1. In order to add new build to Firebase hosting, follow these commands
firebase login
firebase init
  1. Choose account, then choose Hosting as an option
  2. Select Firebase project
  3. Run:
flutter build web
firebase deploy

Integration test

In order to run integration test you have to:

  1. Use test_driver located at test_driver/integration_test.dart.
  2. Add enviromental variables API_KEY(for google maps) and IS_TESTING through --dart-define
  3. (Optional) Use shader warming up to collect shaders to flutter_01.sksl.json

So, to run integration test, run the following command:

Without shaders warming up

flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart

With shaders warming up

flutter drive --profile --cache-sksl --write-sksl-on-exit flutter_01.sksl.json --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart

To build release version with shaders warming up use the following:

Android

flutter build apk --bundle-sksl-path flutter_01.sksl.json

iOS

flutter build ios --bundle-sksl-path flutter_01.sksl.json

Created by Roman Ovsepian

Extrawest.com, 2022


slot_machine_game_prototype's People

Contributors

andriy-gulak-ew avatar roman-ovsepian-ew avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.