Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍎 ApplePie Game

Welcome to ApplePie, a fun and simple word-guessing game written in Swift! This project is part of a Swift programming exercise to understand the fundamentals of UIKit, MVC architecture, and user interaction in iOS development.

πŸ•ΉοΈ Gameplay

ApplePie is a word-guessing game similar to Hangman:

  • The player is given a hint (e.g., number of letters in the word).
  • The player selects letters to guess the word.
  • For each wrong guess, a slice of the apple pie disappears!
  • The game ends when the player guesses the word correctly or runs out of guesses.

πŸ’‘ Features

  • Simple and intuitive UI
  • Built using UIKit
  • Follows MVC (Model-View-Controller) design pattern
  • Teaches basics of Swift logic and event handling

πŸ“± Screenshots

(Insert screenshots of the game here if available)

πŸ—οΈ Project Structure

  • ViewController.swift: Handles user interactions and updates the UI.
  • Game.swift: The model that stores game logic (current word, guessed letters, etc.).
  • assets: Contains UI assets like buttons and images for the pie slices.

🧰 Requirements

  • Xcode 14 or later
  • iOS 15.0+
  • Swift 5+

πŸš€ Getting Started

  1. Clone the repository:
    git clone https://github.com/BobKimani/applePie.git

About

A simple Swift iPad game for guessing letters for words

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages