Skip to content

Commit

Permalink
Update: Updated iOS App
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Mar 20, 2024
1 parent c49d4d2 commit a2cfb0b
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
LastSwiftMigration = 0700;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 1110;
ORGANIZATIONNAME = Fullstack.io;
ORGANIZATIONNAME = "";
TargetAttributes = {
437451F9193D163700654986 = {
CreatedOnToolsVersion = 6.0;
Expand All @@ -182,7 +182,7 @@
};
};
};
buildConfigurationList = 437451F5193D163700654986 /* Build configuration list for PBXProject "FlappyBird" */;
buildConfigurationList = 437451F5193D163700654986 /* Build configuration list for PBXProject "Flappy Bird" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = en;
hasScannedForEncodings = 0;
Expand Down Expand Up @@ -371,10 +371,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
INFOPLIST_FILE = FlappyBird/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Flappy Bird";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "io.fullstack.${PRODUCT_NAME:rfc1034identifier}";
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sonnguyen;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
Expand All @@ -385,10 +389,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
INFOPLIST_FILE = FlappyBird/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Flappy Bird";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "io.fullstack.${PRODUCT_NAME:rfc1034identifier}";
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = sonnguyen;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -440,7 +448,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
437451F5193D163700654986 /* Build configuration list for PBXProject "FlappyBird" */ = {
437451F5193D163700654986 /* Build configuration list for PBXProject "Flappy Bird" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43745218193D163800654986 /* Debug */,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
4 changes: 1 addition & 3 deletions FlappyBird/GameViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ class GameViewController: UIViewController {

if let scene = GameScene.unarchiveFromFile("GameScene") as? GameScene {
let skView = self.view as! SKView
skView.showsFPS = true
skView.showsNodeCount = true


skView.ignoresSiblingOrder = true

scene.scaleMode = .aspectFill
Expand Down
4 changes: 4 additions & 0 deletions FlappyBird/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
</array>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>
21 changes: 21 additions & 0 deletions FlappyBird/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Son Nguyen Hoang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ open FlappyBirdGame.xcodeproj

4. Press `Cmd + R` to build and run the project on your selected device or simulator.

## User Interface

![Flappy Bird Game](img/ios-ui.png)

## How to Play

- Tap anywhere on the screen to make the bird flap its wings and fly.
Expand Down
Binary file added img/ios-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ios.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a2cfb0b

Please sign in to comment.