Standard Tic Tac Toe is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.
Audible Tic Tac Toe is a mobile game that lets players play the game with their voice commands uninterruptedly without having to touch or hold the device ever.
Features of Audible Tic Tac Toe:
- It is a two player game, challenge your friends and save paper and ink.
- Players can control their actions through vocal prompts.
- The game keeps the listening feature active until you give a valid command.
- Players can listen to the game guide with audio.
- Users can review the moves they made on the end-game screen.
Automatic speech recognition (ASR) can recognize speech not longer than 60s and convert the input speech into text in real time. This service uses industry-leading deep learning technologies to achieve a recognition accuracy of over 95%.
For more information -> HUAWEI ML Kit - Automatic Speech Recognition Guide
Text to speech (TTS) can convert text information into audio output in real time. Rich timbres are provided and the volume and speed can be adjusted, thereby natural voices can be produced.
For more information -> HUAWEI ML Kit - Text to Speech Guide
Hardware Requirements
- A computer that can run Android Studio.
- Huawei mobile device with a USB data cable for running developed apps
Software Requirements
- Java JDK 1.8 or later
- Android Studio 2021.2.x
- Android SDK package
- Android API Level 23 or higher
- HMS Core (APK) 5.0.0.300 or later
- EMUI 5.0 or later
Audible Tic Tac Toe uses HUAWEI services. To use them, you have to create an app first. Before getting started, please sign-up for a HUAWEI developer account.
After creating the application, you need to generate a signing certificate fingerprint. Then you have to set this fingerprint to the application you created in AppGallery Connect.
- Go to "My Projects" in AppGallery Connect.
- Find your project from the project list and click the app on the project card.
- On the Project Setting page, set SHA-256 certificate fingerprint to the SHA-256 fingerprint you've generated.
- Change the agconnect-services.json file with yours.
- To use ML Kit in your app, you also need to enable the service in AppGallery Connect.
- Then, obtain the API key from AppGallery Connect. For details, please refer to Preparations for ML Kit Service
- Replace the key with the one in your API key.
Upon completing the essential parts of the code, connect your mobile device to the PC and enable the USB debugging mode. In the Android Studio window, click the icon to run the project you have created in Android Studio to generate an APK. Then install the APK on the mobile device.
- Before you run the app, make sure that you have a working internet connection.
- Then, open the app upon installing it on your device.
- The application will ask you for permission to record audio. Please allow it to use the app with voice commands.
- You see a Welcome Screen that contains the "Start Game" button and, the "How to Play" button.
- To navigate to the "How to Play Screen", just say "How to Play".
- After navigating to the "How to Player Screen", you can read or listen to the guide. You can also go back to the previous screen by saying "Back".
- When you say "Start Game" on the Welcome Screen, you will be taken to Game Screen. Now, you can start playing.
- The first player is "Player Black". You can make your move by saying one of the numbers on the playing field. For example "Eight"
- After saying the move, it will be marked on the grid. Then, "Player Red" can make his/her move by saying one of the free numbers on the playing field.
- The player who places a required amount of symbols in a row with respective marks in a horizontal, vertical, or diagonal row, wins the game.
- After the game is over, the game will take you to the Results Screen.
- On the Result Screen, you can review your moves and say "Play again" to start a new game.
- If you want to quit the game, you can say "Quit".
Audible Tic Tac Toe is designed with MVVM design pattern.
- Huawei ML Kit - Automatic Speech Recognition
- Huawei ML Kit - Text to Speech
- LiveData
- ViewModel
- Navigation
- ViewBinding
- Dagger Hilt
- SplashScreen API
- Lottie
Download Audible TicTacToe Apk
Copyright 2022. Huawei Technologies Co., Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.