https://github.com/avikumar15/tictactoe
An app which lets you play TicTacToe in 1-Player mode with three different levels of difficulty and also 2-Player mode. The app also runs a timer when game starts which stops once the game is over. For each succesful wins by the player, the app stores the time taken to win along with the difficulty level. The app shows this detailed result in a new activity which can be reset if needed. On the first screen app also shows the best time at which the player won.
https://github.com/avikumar15/tictactoe
Last synced: over 1 year ago
JSON representation
An app which lets you play TicTacToe in 1-Player mode with three different levels of difficulty and also 2-Player mode. The app also runs a timer when game starts which stops once the game is over. For each succesful wins by the player, the app stores the time taken to win along with the difficulty level. The app shows this detailed result in a new activity which can be reset if needed. On the first screen app also shows the best time at which the player won.
- Host: GitHub
- URL: https://github.com/avikumar15/tictactoe
- Owner: avikumar15
- Created: 2019-06-18T20:06:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T18:29:13.000Z (about 7 years ago)
- Last Synced: 2025-01-22T20:51:40.730Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 162 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TicTacToeHackermode
An app which lets you play TicTacToe in 1-Player mode and 2-player mode.
## Features
1. The Single player mode consists of 3 difficulty levels - Easy, Medium and Hard, of which Hard mode is unbeatable.
2. When a game starts, a timer starts which stops once the game ends.
3. If the game is of Single Player Mode, and player wins, then this time is stored in a SQLite Database and all games won are shown in a different activity, with the mode of the game and time taken to win the game.
4. In the same activity where data is stored, an additional feature of "Clearing" all the data is also available which resets the data.
5. On the front screen the app shows session best time.
## Things Learnt
1. Canvas.
2. Running a timer on the screen.
3. Use of SharedPreferences and SQLite Database.
4. Developing the algorithm for Easy, Medium and Hard mode (which is unbeatable).