Skip to content

thaislins/memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

60 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Memory Game

๐Ÿƒ:iphone: A memory game made for Android

Description

A card game in which all of the cards are mixed up, laid face down and are flipped face up over each turn. The goal of this game is to turn over pairs of matching cards. After all cards are matched the game will be over and the user can choose to play again or quit the game. This application was made with an MVVM Architecture, using Kotlin coroutines to allow API Requests to get images and display them on the game cards.

APK

Memory Game APK

Features

  • Made use of Navigation Architecture Component to make a Single Activity App
  • Repository and datasource were used as part of the model in the MVVM architechture, as a way to keep the app modularized and easier to maintain
  • Used Room to save product data and game scores in database
  • Used Material Design Components
  • Kotlin Coroutines were used to make API requests and to access app database
  • Made use of Viewmodel, Livedata and DataBinding to make interaction with view easier and to retain data
  • Used a chronometer to keep track of how much time went by in the game
  • Used Custom Views as a way to make the cards and the grid view adaptable

Screenshots

Built With

  • Kotlin - Programming Language
  • Koin - Dependency Injection Framework
    • Used to help decouple code and to reduce boilerplate code by injecting repositories, viewmodel and retrofit interfaces
  • Glide - Image Loading Framework
    • This library was used to load the images from src links obtained from a GET request
  • Retrofit - REST Client Library
    • Retrofit was used as a way to make the GET Request to the API quicker and more efficient
  • Jackson - JSON Parser
    • This parser was used to parse JSON into an objects

Author

Thais Lins
Thais Lins

About

๐Ÿƒ A memory game made for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published