Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
/ flashcard Public archive

lynkos/flashcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project 4 - Flashcard

iOS app that allows users to play a simple memory game.

Features

  • App loads to display a grid of cards initially placed face-down:
    • Upon launching the app, a grid of cards should be visible.
    • Cards are facedown to indicate the start of the game.
  • Users can tap cards to toggle their display between the back and the face:
    • Tapping on a facedown card should flip it to reveal the front.
    • Tapping a second card that is not identical should flip both back down
  • When two matching cards are found, they both disappear from view:
    • Implement logic to check if two tapped cards match.
    • If they match, both cards should either disappear.
    • If they don't match, they should return to the facedown position.
  • User can reset the game and start a new game via a button:
    • Include a button that allows users to reset the game.
    • This button should shuffle the cards and reset any game-related state.
  • User can select number of pairs to play with (at least 2 unique values like 2 and 4).
  • App allows for user to scroll to see pairs out of view.
  • Add any flavor you’d like to your UI with colored buttons or backgrounds, unique cards, etc.
    • Enhance the visual appeal of the app with colored buttons, backgrounds, or unique card designs.
    • Consider using animations or transitions to make the user experience more engaging.

Demo

License

Copyright 2025 Kiran Brahmatewari

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.

About

CodePath Unit 4: Flashcard

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages