Giter VIP home page Giter VIP logo

tapgame's Introduction

tapGame

In order to use what I learned some swift functions, I have created a project. This is a simple game which is created by using swift. Game can be played with 2 players.

Functions

1- Gesture 2- Timer 3- Segue 4- Alert

Game Rules

-There are 2 player to play game. The purpose of the game is to tap more. There is a counter which decreases by timer function. When the time reaches zero, the app shows that who is winner by using alert function.

Desing and Functions

First of all, I have composed UI by usind StoryBoard.

storyboard

There are two screens. The first one is welcome screen and the second one is game screen. In order to link them, I have used navigation controller.

In the first screen, there is a play button to direct user to game screen. The play button uses segue function.

In the second screen there are 2 fields for player1 and player2. These fields include imageView and the imageView is toucable by using gestureRecognizer function. When user tap the area the count value is increased. Also there is a timer to stop the game. At the end of the game, a notification is enabled. The notification indicates the winner.

You can see the video about game below.

ezgif com-gif-maker

tapgame's People

Contributors

bedirhansavas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.